mammoth-honey-6147
12/23/2021, 1:52 PMDiagnostics:
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (rancher):
error: transport is closing
pulumi:pulumi:Stack (03-rancher-application-dev):
panic: fatal: An assertion has failed
goroutine 105 [running]:
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.17.1/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)>
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.17.1/go/common/util/contract/assert.go:26
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchValueToDiff(0xc0084a4f78|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchValueToDiff(0xc0084a4f78>, 0xc00013f920, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2853 +0xb6b
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchMapToDiff(0xc0084a4f78|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchMapToDiff(0xc0084a4f78>, 0xc0028d2640, 0x1, 0x1, 0xc002a832f0, 0xc002aa0870, 0xc002aa0b40, 0xc002aa0e10, 0xc0028d2600, 0x10, ...)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2953 +0x31d
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchValueToDiff(0xc0084a4f78|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchValueToDiff(0xc0084a4f78>, 0xc0028d2640, 0x1, 0x1, 0x21b0420, 0xc002a832f0, 0x21b0420, 0xc002aa0870, 0x21b0420, 0xc002aa0b40, ...)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2874 +0x17a
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchMapToDiff(0xc0084a4f78|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*patchConverter).addPatchMapToDiff(0xc0084a4f78>, 0x0, 0x0, 0x0, 0xc002a832c0, 0xc002aa0420, 0xc002aa0ae0, 0xc002aa0db0, 0x0, 0xc0084a4f98, ...)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2953 +0x31d
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.convertPatchToDiff(0xc002a832c0|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.convertPatchToDiff(0xc002a832c0>, 0xc002aa0420, 0xc002aa0ae0, 0xc002aa0db0, 0xc00013f8a0, 0x2, 0x2, 0x2, 0xb0, 0x0)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2780 +0x119
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*helmReleaseProvider).Diff(0xc000381aa0|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*helmReleaseProvider).Diff(0xc000381aa0>, 0x28964c8, 0xc002c7f350, 0xc00849c000, 0x7, 0xc00832203b, 0x2)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:663 +0xbea
<http://github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*kubeProvider).Diff(0xc000682900|github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*kubeProvider).Diff(0xc000682900>, 0x28964c8, 0xc002c7f350, 0xc00849c000, 0xc000682900, 0x21ce001, 0xc002a4c380)
/home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:1449 +0x6dc
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler.func1(0x28964c8|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler.func1(0x28964c8>, 0xc002c7f350, 0x23c2aa0, 0xc00849c000, 0x23da8e0, 0x3a9a828, 0x28964c8, 0xc002c7f350)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.17.1/proto/go/provider.pb.go:2584 +0x89
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x28964c8|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x28964c8>, 0xc002c7e960, 0x23c2aa0, 0xc00849c000, 0xc00848a360, 0xc008494138, 0x0, 0x0, 0x284c040, 0xc000322e70)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30a
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler(0x247d7e0|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Diff_Handler(0x247d7e0>, 0xc000682900, 0x28964c8, 0xc002c7e960, 0xc0040261e0, 0xc00075bd40, 0x28964c8, 0xc002c7e960, 0xc008496000, 0x11d8)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.17.1/proto/go/provider.pb.go:2586 +0x150
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001addc0|google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001addc0>, 0x28b31b8, 0xc000582600, 0xc002bd39e0, 0xc00086cf30, 0x3a36ca8, 0x0, 0x0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1286 +0x52b
<http://google.golang.org/grpc.(*Server).handleStream(0xc0001addc0|google.golang.org/grpc.(*Server).handleStream(0xc0001addc0>, 0x28b31b8, 0xc000582600, 0xc002bd39e0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1609 +0xd0c
<http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000321770|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000321770>, 0xc0001addc0, 0x28b31b8, 0xc000582600, 0xc002bd39e0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:934 +0xab
created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:932 +0x1fd
Downgrading seems fine, upgrading does not. The version of the chart exists_, err := helm.NewRelease(ctx, "rancher", &helm.ReleaseArgs{
Chart: pulumi.String("rancher"),
Name: pulumi.String("rancher"),
Namespace: pulumi.String(rancherNamespaceName),
RepositoryOpts: helm.RepositoryOptsArgs{
Repo: pulumi.String("<https://releases.rancher.com/server-charts/latest>"),
},
Values: pulumi.Map{
"hostname": pulumi.String(rancherUrl),
"ingress": pulumi.Map{
"tls": pulumi.Map{
"source": pulumi.String("secret"),
},
},
},
Version: pulumi.String(rancherVersion),
})
rancherversion
is grabbed by the config. I've simply incremented the version, ie from 2.6.2 to 2.6.3helm search repo rancher-latest ๎ฒ โ ๎ณ tools-cluster โ
NAME CHART VERSION APP VERSION DESCRIPTION
rancher-latest/rancher 2.6.3 v2.6.3 Install Rancher Server to manage Kubernetes clu...