Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm release panic when bump helm chart versions #1947

Closed
gitfool opened this issue Mar 31, 2022 · 0 comments 路 Fixed by #1948
Closed

Helm release panic when bump helm chart versions #1947

gitfool opened this issue Mar 31, 2022 · 0 comments 路 Fixed by #1948
Assignees
Labels
impact/panic This bug represents a panic or unexpected crash kind/bug Some behavior is incorrect or out of spec p1 Bugs severe enough to be the next item assigned to an engineer resolution/fixed This issue was fixed

Comments

@gitfool
Copy link

gitfool commented Mar 31, 2022

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

Using the following versions:

  • Pulumi 3.27.0
  • Pulumi.Kubernetes 3.17.0

I hit the following panic when using the dotnet sdks:

Diagnostics:
  pulumi:pulumi:Stack (k8s-alpha):
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x20 pc=0x1a23dcd]
    goroutine 782 [running]:
    github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.setReleaseAttributes(0xc0001b90e0, 0x0, 0x0)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:1149 +0x14d
    github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*helmReleaseProvider).helmUpdate(0xc002754c40, 0xc0001b90e0, 0xc0001b91d0)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:588 +0x4fb
    github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*helmReleaseProvider).Update(0xc002754c40, {0x0, 0x10000000101}, 0xc002bde080)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:979 +0x44a
    github.com/pulumi/pulumi-kubernetes/provider/v3/pkg/provider.(*kubeProvider).Update(0xc00057bc80, {0x233b5e8, 0xc00255f230}, 0xc002bde080)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2124 +0x147d
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler.func1({0x233b5e8, 0xc00255f230}, {0x1e96860, 0xc002bde080})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.26.1/proto/go/provider.pb.go:2665 +0x7b
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x233b5e8, 0xc00255e030}, {0x1e96860, 0xc002bde080}, 0xc0012ac260, 0xc0005a4060)
        /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x425
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler({0x1f18a40, 0xc00057bc80}, {0x233b5e8, 0xc00255e030}, 0xc011aa4000, 0xc000702820)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.26.1/proto/go/provider.pb.go:2667 +0x138
    google.golang.org/grpc.(*Server).processUnaryRPC(0xc0003661c0, {0x237c5c8, 0xc000604340}, 0xc001d26120, 0xc0002ab950, 0x3762d30, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1282 +0xccf
    google.golang.org/grpc.(*Server).handleStream(0xc0003661c0, {0x237c5c8, 0xc000604340}, 0xc001d26120, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1619 +0xa2a
    google.golang.org/grpc.(*Server).serveStreams.func1.2()
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:921 +0x98
    created by google.golang.org/grpc.(*Server).serveStreams.func1
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:919 +0x294

  kubernetes:helm.sh/v3:Release (cluster-autoscaler):
    error: transport is closing

  kubernetes:helm.sh/v3:Release (appmesh-controller):
    error: transport is closing

I don't have an easy repro given the stack complexity but the stack trace indicates setReleaseAttributes is the problem area.

@gitfool gitfool added the kind/bug Some behavior is incorrect or out of spec label Mar 31, 2022
@viveklak viveklak added the impact/panic This bug represents a panic or unexpected crash label Mar 31, 2022
@viveklak viveklak self-assigned this Mar 31, 2022
@viveklak viveklak added the p1 Bugs severe enough to be the next item assigned to an engineer label Mar 31, 2022
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/panic This bug represents a panic or unexpected crash kind/bug Some behavior is incorrect or out of spec p1 Bugs severe enough to be the next item assigned to an engineer resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants