[Openstack] Understanding shutdown VM behavior

Vaze, Mandar Mandar.Vaze at nttdata.com
Fri Jun 1 05:53:26 UTC 2012


> But the pickle is the case where a user initiates a shutdown
> inside the VM. What's the expected behavior after it's detected?
> Should it respect the shutdown_terminate flag or work more like an OS
> API?  Right now when a shutdown in a VM is detected, the vm state is
> updated to SHUTOFF and that's pretty much it..

If you are referring to _sync_power_states periodic task, I think current behavior
is correct - All it does it matches the "real" vm state with that in DB.

The task is not invoked in response to any user action , just housekeeping task.

-Mandar


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding




More information about the Openstack mailing list