-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pulumi destroy --excluded-protected is failing with an error grpc: the client connection is closing
when kubernetes.Provider is in stack
#14650
Comments
This works on 3.73.0?
Anything special about |
Yes and yes :) |
I can reproduce this. Running The associated change in v3.92.0 is #14436 Previously, any errors in DiffConfig were ignored. Now they aren't. Verbose logs confirm:
Which corresponds with: pulumi/sdk/go/common/resource/plugin/provider_plugin.go Lines 456 to 457 in bafa1f9
|
Those version numbers make more sense. Could probably repro this in an engine test with that info. |
We are encountering the problem even with version 3.91.1 🤷♂️ |
Any news about this bug? still happening in version v3.115.2 |
I'm seeing the same symptoms with |
After hitting it once more, this time with a plain recreate plan, I think the actual condition for triggering this is having a resource use a provider that depends on outputs of another resource that is being destroyed. The original post does show having a |
What happened?
pulumi destroy --excluded-protected
is failing with an errorgrpc: the client connection is closing
whenkubernetes.Provider
is in stack. The bug was introduced in Pulumi version 3.74.0Example
If I create this stack with
pulumi up
,pulumi destroy --exclude-protected
is failing.If I remove
kubernetes.Provider
resource and update stack withpulumi up
thenpulumi destroy --exclude-protected
starts working.Output of
pulumi about
$ pulumi about
CLI
Version 3.94.2
Go Version go1.21.4
Go Compiler gc
Plugins
NAME VERSION
gcp 7.2.1
google-native 0.31.1
kubernetes 4.5.4
python unknown
Host
OS arch
Version "23.1.0"
Arch x86_64
This project is written in python: executable='/home/beer/projects/tacr/platform/cluster-deploy/.venv/bin/python3' version='3.11.5'
Current Stack: organization/cluster/minimal
TYPE URN
pulumi:pulumi:Stack urn:pulumi:minimal::cluster::pulumi:pulumi:Stack::cluster-minimal
pulumi:providers:gcp urn:pulumi:minimal::cluster::pulumi:providers:gcp::default_7_2_1
gcp:projects/service:Service urn:pulumi:minimal::cluster::gcp:projects/service:Service::container.googleapis.com
gcp:projects/service:Service urn:pulumi:minimal::cluster::gcp:projects/service:Service::compute.googleapis.com
pulumi:providers:google-native urn:pulumi:minimal::cluster::pulumi:providers:google-native::default_0_31_1
google-native:container/v1:Cluster urn:pulumi:minimal::cluster::google-native:container/v1:Cluster::cluster
pulumi:providers:pulumi urn:pulumi:minimal::cluster::pulumi:providers:pulumi::default
pulumi:providers:kubernetes urn:pulumi:minimal::cluster::pulumi:providers:kubernetes::k8s_provider
Found no pending operations associated with minimal
Backend
Name beer-notebook
URL gs://cluster-deployment--wmghdg/
User beer
Organizations
Token type personal
Dependencies:
NAME VERSION
pip 23.2.1
pulumi-gcp 7.2.1
pulumi-google-native 0.31.1
pulumi-kubernetes 4.5.4
setuptools 65.5.0
Pulumi locates its logs in /tmp by default
Additional context
No response
Contributing
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).
The text was updated successfully, but these errors were encountered: