OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
61 stars 53 forks source link

`opennebula_marketplace_appliance`: unexpected state 'LOCKED', wanted target 'READY' #518

Closed frousselet closed 5 months ago

frousselet commented 5 months ago

Description

When creating an image, the provider doesn't support the LOCKED state while copying the image to the S3.

Terraform and Provider version

Provider 1.4.0-rc2

Affected resources and data sources

opennebula_marketplace_appliance

Terraform configuration

No response

Expected behavior

Terraform create appliance with state LOCKED with no error

Actual behavior

Terraform create appliance with state LOCKED with error

│ Error: Failed to wait appliance to be in READY state
│
│   with opennebula_marketplace_appliance.example,
│   on main.tf line 38, in resource "opennebula_marketplace_appliance" "example":
│   38: resource "opennebula_marketplace_appliance" "example" {
│
│ marketplace appliance (ID: 305): unexpected state 'LOCKED', wanted target 'READY'. last error: %!s(<nil>)

Steps to Reproduce

Create marketplace appliance, then apply

Debug output

No response

Panic output

No response

Important factoids

No response

References

No response