Let users control what happens when a VM guest is shutdown
|Assignee:||Carlos Martín||% Done:|
|Target version:||Release 4.8|
When a VM is shutdown from winthin, OpenNebula changes the VM status to unknown.
But we could add an option similar to ec2's --instance-initiated-shutdown-behavior to let the admin or user decide if the VM should be set to unk, done, or poweroff.
More context in this mailing list thread:
feature #2452: slighlty re-structure of xen_kvm probes to accomodate hypervisor failures
#5 Updated by Ruben S. Montero about 6 years ago
- A shutdown from the guest will remove the VM from the hypervisor list. In that situation the VM will be moved to POWEROFF. This way the VM state changes are coherent with operations issued from OpenNebula
- On host failures the VMs are moved to unknwon state as this may require admin intervention