12/04/2022, 4:27 PM
Hey all, This is not the first time i’m encountering this annoying
transport is closing
error while upgrading Helm Releases. Actually, i’m not changing anything in my pulumi stack, but the helm release doesn’t know how to keep the ServiceAccount list in order, so Pulumi is trying to upgrade it anyway, you can see here the changes that found (nothing really change, just the order of the list) - Anyway, applying this change (pulumi up) is broken and i’m getting
transport is closing
, which happened to me a while a go and the only solution that I found was to fully destroy the k8s cluster and re-create it (Which is the worst solution I could imagine to use). I don’t want to destroy this cluster, especially by the fact that it’s a new one that I created it a week ago so nothing changed there. The full log is in the thread. I’m completely lost by this error, so any help I can get would be super appreciated.
Updating (permitio/dev)

View Live: <>

     Type                              Name                            Status       Info
     Type                              Name                            Status                  Info
     pulumi:pulumi:Stack               permit-main-dev                 **failed**              1 error; 1 warning; 25 messages
     ├─ eks:index:Cluster              permit-main-eks-dev                                     
     │  └─ aws:eks:Cluster             permit-main-eks-dev-eksCluster                          
 ~   ├─ kubernetes:<|>  alb-controller-release          **updating failed**     [diff: ~resourceNames]; 1 error
 ~   ├─ kubernetes:<|>  cluster-autoscaler-release      **updating failed**     1 error
 ~   └─ kubernetes:<|>  eks-bootstrap                   **updating failed**     [diff: ~resourceNames]; 1 error
  kubernetes:<|> (cluster-autoscaler-release):
    error: transport is closing
  kubernetes:<|> (eks-bootstrap):
    error: transport is closing
  pulumi:pulumi:Stack (permit-main-dev):
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x106038848]
    goroutine 226 [running]:
    <|>, 0x0, 0x0)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:1149 +0x178
    <*helmReleaseProvider).helmUpdate(0x14000b71500|*helmReleaseProvider).helmUpdate(0x14000b71500>, 0x140027f61e0, 0x140027f62d0)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:588 +0x51c
    <*helmReleaseProvider).Update(0x14000b71500|*helmReleaseProvider).Update(0x14000b71500>, {0x10695efe8, 0x140029ca000}, 0x14002777b00)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/helm_release.go:979 +0x45c
    <*kubeProvider).Update(0x14000177380|*kubeProvider).Update(0x14000177380>, {0x10695efe8, 0x140029ca000}, 0x14002777b00)
        /home/runner/work/pulumi-kubernetes/pulumi-kubernetes/provider/pkg/provider/provider.go:2124 +0x1434
    <{0x10695efe8|{0x10695efe8>, 0x140029ca000}, {0x10681a820, 0x14002777b00})
        /home/runner/go/pkg/mod/ +0x7c
    <{0x10695efe8|{0x10695efe8>, 0x140029955f0}, {0x10681a820, 0x14002777b00}, 0x14002998520, 0x1400297b3f8)
        /home/runner/go/pkg/mod/ +0x3bc
    <{0x10689c5e0|{0x10689c5e0>, 0x14000177380}, {0x10695efe8, 0x140029955f0}, 0x140029b0240, 0x140001349a0)
        /home/runner/go/pkg/mod/ +0x150
    <*Server).processUnaryRPC(0x140009fc540|*Server).processUnaryRPC(0x140009fc540>, {0x10699c6b8, 0x140004db040}, 0x140029858c0, 0x140008c5aa0, 0x107ced850, 0x0)
        /home/runner/go/pkg/mod/ +0xc5c
    <*Server).handleStream(0x140009fc540|*Server).handleStream(0x140009fc540>, {0x10699c6b8, 0x140004db040}, 0x140029858c0, 0x0)
        /home/runner/go/pkg/mod/ +0xa34
    <*Server).serveStreams.func1.2(0x140007801d0|*Server).serveStreams.func1.2(0x140007801d0>, 0x140009fc540, {0x10699c6b8, 0x140004db040}, 0x140029858c0)
        /home/runner/go/pkg/mod/ +0x94
    created by <*Server).serveStreams.func1|*Server).serveStreams.func1>
        /home/runner/go/pkg/mod/ +0x1f0
    warning: aws:ec2/getSubnetIds:getSubnetIds verification warning: The aws_subnet_ids data source has been deprecated and will be removed in a future version. Use the aws_subnets data source instead.
    error: update failed
  kubernetes:<|> (alb-controller-release):
    error: transport is closing
    kubeconfig: {}


12/04/2022, 7:58 PM
Hi Raz, can you run
pulumi about
and post the output here
A GitHub gist of the code would be nice too


12/05/2022, 2:41 PM
Just a thought, is the cluster set to private endpoints and you aren’t connected to the VPN?


12/05/2022, 4:04 PM
Hi @billowy-horse-79629, could you please open an issue for that? We treat panics as a high-priority issue to fix, so we can take a look shortly.


12/05/2022, 7:08 PM
Version      3.48.0
Go Version   go1.19.3
Go Compiler  gc

OS       darwin
Version  12.6.1
Arch     arm64

Name           <|>

Pulumi locates its logs in /var/folders/hg/tk92cycn45ndkzmjzpx5l1tc0000gn/T/ by default
warning: Failed to read project: no Pulumi.yaml project file found (searching upwards from /Users/razco). If you have not created a project yet, use `pulumi new` to do so: no project file found
warning: Failed to get information about the current stack: no Pulumi.yaml project file found (searching upwards from /Users/razco). If you have not created a project yet, use `pulumi new` to do so: no project file found
I didn’t attach the Org and User fields, tell me if it’s important
Will attach gist of the code later, thanks so much for the support !


12/05/2022, 7:19 PM
Thanks Raz, @gorgeous-egg-16927 answered too and as he wrote opening an issue so they can have a look into this quicker!