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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opennebula_marketplace_appliance: Tainted resource cannot be replaced #517

Closed
anddyL opened this issue Jan 19, 2024 · 1 comment · Fixed by #520
Closed

opennebula_marketplace_appliance: Tainted resource cannot be replaced #517

anddyL opened this issue Jan 19, 2024 · 1 comment · Fixed by #520

Comments

@anddyL
Copy link

anddyL commented Jan 19, 2024

Description

I created a maketplace app but I forget to define the original image, so it's failed:

│ Error: Failed to create the appliance
│
│   with opennebula_marketplace_appliance.example,
│   on main.tf line 38, in resource "opennebula_marketplace_appliance" "example":
│   38: resource "opennebula_marketplace_appliance" "example" {
│
│ OpenNebula error [INTERNAL]: [one.marketapp.allocate] Image does not exist.

After fixed, terraform failed because it wasn't able to replace the tainted resource:

╷
│ Error: Failed to create the appliance
│
│   with opennebula_marketplace_appliance.example,
│   on main.tf line 38, in resource "opennebula_marketplace_appliance" "example":
│   38: resource "opennebula_marketplace_appliance" "example" {
│
│ OpenNebula error [INTERNAL]: [one.marketapp.allocate] NAME is already taken by MARKETPLACEAPP 299

Terraform and Provider version

provider 1.4.0-rc2

Affected resources and data sources

opennebula_marketplace_appliance

Terraform configuration

No response

Expected behavior

tainted resource must be replaced

Actual behavior

tainted resource cannot be replaced

Steps to Reproduce

see description

Debug output

No response

Panic output

No response

Important factoids

No response

References

No response

@frousselet frousselet added this to the 1.4.0 milestone Jan 19, 2024
@frousselet frousselet changed the title tainted resource cannot be replaced opennebula_marketplace_appliance: Tainted resource cannot be replaced Jan 19, 2024
@frousselet
Copy link
Collaborator

It might be due to a suppression delay on ONE side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants