-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Crash on MacOS, TF 0.9.6, vsphere_virtual_machine, attempting plan on shut down VMs #14910
Comments
@glennmcallister do you know if your virtualcenter was restarted since the VMs were first deployed? This seems similar to my report #13803 which only seems to happen when vcenter is rebooted. |
I checked with our cluster administrator, and he got a list of the events with id 6005, which he's pretty sure is accurate enough for our purposes. If not, let me know and I'll go back to him. The last reboot was on April 26th, 2017. It was a graceful shutdown and restart. It was long before this crash. BTW, that event represent vCenter boot times, not individual service restarts. |
I asked our administrator to double check, and he said that he couldn't find any service restarts that entire day of May 26th, 2017. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Summary:
Previous vSphere VMs created fine on May 26, 2017. Executed
plan
after making minor changes in a "remote-exec" provisioner. Expected no changes, however TF showed unexpected disk changes:In preparation for recreating the VMs, I had stopped them but not yet deleted them in vSphere. I usually delete them, but I had forgotten.
I ran
plan
at this point, which triggered the crash:Terraform Version
$ terraform --version
Terraform v0.9.6
Affected Resource(s)
Terraform Configuration Files
Panic Output
crash.log output: https://gist.github.com/glennmcallister/d7eae5bb403044c86c96f8ab17446ebd
Expected Behavior
Should have ignored the disk difference.
Actual Behavior
Crashed.
Steps to Reproduce
terraform plan
Important Factoids
There were 8 VMs the plan was being executed against. Two of the VMs were shut off, but not destroyed.
When I turn the VMs back on, I observe the expected behaviour.
References
None at this time.
The text was updated successfully, but these errors were encountered: