-
Notifications
You must be signed in to change notification settings - Fork 112
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
Increasing a hard disk's size is resulting in VM shutdown #728
Comments
Hello @vbauzysvmware I hope my message finds you well. Is there any update on this please? |
Hi @GeorgiosGoniotakis I will look into this when I finish the current feature I am working on. I hope this happens soon. |
Thank you for letting me know @vbauzysvmware Much appreciated. |
I checked the code and seems to be ok and tried to reproduce the case, but in the examples I used, VM wasn't restarted.
could you provide more information? like HCL which makes VM restart, share also what terraform plan shows and logs. |
Hello @vbauzysvmware After extending the disk size we noticed that the server is shutting down, not rebooting. May I ask which version of the Terraform provider you used to reproduce this please? |
I was checking with Terraform v1.0.11 Shutting down is even more mistic as this resource only power off, change the size, power on, and only for IDE type. So the culprit could be somewhere else. |
I found one issue and made a change. I hope it was you faced. |
Hello @vbauzysvmware Happy New Year! Sorry for the late reply. I tested the latest version of the provider last night and I can confirm that this has indeed been fixed. Thank you for having a look into that. |
Great, thank you for testing. |
Hello friends 😃
I am facing an issue when trying to extend the disk size of an existing hard disk. The hard disk has been created using Terraform. When trying to increase the size of the disk via Terraform and deploy the changes, it causes the server to shutdown. However, the disk's size is successfully updated.
When trying to manually extend a hard disk on the VMWare cloud platform, no reboot is required. So, I thought that it would be the same case when using the Terraform provider. Lastly, I experimented with the
allow_vm_reboot
parameter which did not improve the situation. Thebus_type
of the disk isparavirtual
. Any feedback would be much appreciated.Terraform v1.0.7
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Hard disk's size should have increased without causing a VM shutdown.
Actual Behavior
Hard disk's size was increased but VM was shut down and was not turned on back automatically again.
The text was updated successfully, but these errors were encountered: