-
Notifications
You must be signed in to change notification settings - Fork 53
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
Terraform loses disk in state after resize #557
Comments
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
Can't remove the stale label so I'll comment; sorry for 'bumping' but this seems like a problem and maybe it's just been missed 🙏 |
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
🙈 keeping it alive 🙏 |
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days. |
Keeping it alive 🙈 🙏 |
Description
Resizing a VMs disks results in Terraform losing (removing) the last disk from the state file; the change itself - from Terraform's perspective - is successful. The disk itself is not destroyed, just that it's not part of Terraform's state any more, as subsequent
plan
operations will try to add the disk.Terraform and Provider version
Affected resources and data sources
opennebula_virtual_machine
Terraform configuration
Expected behavior
Both data disks are successfully resized, per this output:
Actual behavior
Only the first data disk is resized, the second data disk is lost, as seen on subsequent
terraform apply
:Steps to Reproduce
terraform apply
terraform apply
terraform apply
Debug output
No response
Panic output
No response
Important factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: