You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out this is not actually a problem with Terraform or the provider, it is because the spec has gone into an ERROR state and the provider is correctly refusing to attempt any further operations.
The problem is in your Nutanix cluster, not the provider. Contact Nutanix Support to fix it.
The API is returning a status with "state": "ERROR" in the response and the above "message_list" object.
You can see the responses by running Terraform in debug mode:
TF_LOG=DEBUG terraform plan -var name=atestvm
If you run Community Edition and don't have a support contract, you can follow this procedure:
ssh to the PC VM
get a list of specs in ERROR state
nuclei diag.get_specs state=kError spec_json=true
look for the spec that relates to your VM and delete that
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
See #130
Actual Behavior
Provider seems to always return the last failed task which triggers an error in Terraform.
Steps to Reproduce
Every operation after that results in the same error message from Terraform.
Important Factors
Nutanix API v3 does not support shrinking of disks. This issue is more about Terraform (and the Provider) not being able to recover from it.
References
The text was updated successfully, but these errors were encountered: