-
Notifications
You must be signed in to change notification settings - Fork 15
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
Importing existing ReservedIP results in a hung Preview/Up #352
Comments
Thank you for reporting this issue @prae04 and sorry for the trouble. Would you be able to share detailed logs with us (see this page for how to collect them). Note that the file may contain sensitive information, so don't share it publicly. Rather, share some last lines, obfuscated if needed. I'm hoping they may show the reason for hanging. |
|
Thank you for doing this. I don't see a smoking gun, unfortunately... Is there a repro code snippet that you could share with me? |
@mikhailshilkov Absolutely, appreciate it
|
The Config sections are for future cost-saving workflows. The resources around Snapshots aren't actively used...yet. |
Starting a fresh pulumi project and creating a ReservedIP only (no imports) in the project has the same result using golang. When starting a fresh pulumi project doing the same in Python, pulumi up is successful. |
What happened?
Importing a ReservedIP and not changing the given code from
pulumi import
results in a hung/stuck pulumi preview. Previouspulumi preview
runs complete nearly instantly.Stack contains 3 resources
Steps to reproduce
pulumi import myip 123.34.1.1
but using the actual existing IP that's already assigned to the droplet.pulumi preview
will hang.Expected Behavior
Newly imported resource will be added to the stack with no changes to apply from a
pulumi preview
Actual Behavior
pulumi preview
hangs, never finishing. Currently, only way to get stack to be usable or to run a successful preview is to remove the ReservedIP from state.Output of
pulumi about
CLI
Version 3.50.2
Go Version go1.19.4
Go Compiler gc
Plugins
NAME VERSION
digitalocean 4.16.0
go unknown
Host
OS ubuntu
Version 20.04
Arch x86_64
This project is written in go: executable='/usr/local/go/bin/go' version='go version go1.19.4 linux/amd64'
Current Stack: prae04/digocean/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::digocean::pulumi:pulumi:Stack::digocean-dev
pulumi:providers:digitalocean urn:pulumi:dev::digocean::pulumi:providers:digitalocean::default_4_16_0
digitalocean:index/vpc:Vpc urn:pulumi:dev::digocean::digitalocean:index/vpc:Vpc::default-nyc1
digitalocean:index/droplet:Droplet urn:pulumi:dev::digocean::digitalocean:index/droplet:Droplet::valheim-server
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/prae04
User prae04
Organizations prae04
Dependencies:
NAME VERSION
github.com/pulumi/pulumi/sdk/v3 3.44.2
Additional context
Even adding in a bare ReservedIP (no import) with Region as the only argument results in a same situation.
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: