Terminating VM Instances…
You can terminate a running instance with the following operations (either as onevm commands or through Sunstone):
shutdown: Gracefully shuts down a running VM, sending the ACPI signal. Once the VM is shutdown the
host is cleaned, and persistent and deferred-snapshot disk will be moved to the associated datastore. If after a given >time the VM is still running (e.g. guest ignoring ACPI signals), OpenNebula will returned the VM to the RUNNING state.
shutdown --hard: Same as above but the VM is immediately destroyed. Use this action instead of shutdown when the VM doesn’t have ACPI support.
I personally have not encountered a dissapearing VM when I just use “shutdown”, to be honest.
As far as I know, there is no known bug like this. If you deploy another VM, and use “shutdown”, can you reproduce the issue ?
I had the same “problem” when started using ONE. For OpenNebula:
shutdown -> “bring down” the VM and release the image, therefore the image state will become READY and VM will removed from VM list.
power off -> “bring down” the VM only. You can power on by “resume”
I did shutdown on all running VMs on a staging, it all disappeared, the VM images were wiped off too. That was scary. Now i tried reinstalling the opennebula, i am getting GPG error for the download from opennebula.org. It is worrisome. The images were on a parallel file system on shared setup. The OS were all Ubuntu 14.04.