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
Plan / Apply show disk size to var.primary_disk_size GiB but actual it's the size of cloned image.
When we reapply, the provider throw an error :
Error: error waiting for disk (ZXJnb24=:af5edd7a-c1aa-59b8-9076-dd6710b1bf66) to be updated: error_detail: Failed to perform the operation on the VM with UUID 'dc7b6abd-7d8e-4a2c-7afc-72f4a80a085d' because specifying both 'dataSource' and 'diskSizeBytes' is not allowed.
Manually change disk size by updating the VM in Prism Central works well.
There is no error since v2.1.0 thanks to #761 .
But now this lack of resize occurs silently 😢
As mentioned by @akli-ime the API does not support both arguments.
But can we consider a 2-step operation during the Create Context ?
Firstly a clone with dataSource and then a resize with diskSizeBytes and the dataSource mapping deletion.
Uh oh!
There was an error while loading. Please reload this page.
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
$ terraform -v
Terraform v1.9.8
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Disk size should be var.primary_disk_size GiB
Actual Behavior
Plan / Apply show disk size to var.primary_disk_size GiB but actual it's the size of cloned image.
When we reapply, the provider throw an error :
Manually change disk size by updating the VM in Prism Central works well.
Steps to Reproduce
terraform apply
Important Factors
Similar to an issue on the Ansible collection : nutanix/nutanix.ansible#578
The text was updated successfully, but these errors were encountered: