On 02/21/2018 03:19 PM, Kwan, Louie wrote:
When turning off a VM by doing nova stop,  the Status and Task State is there
for Nova. But can Libvirt / qemu programmatically figure out the ‘Task State’
that the VM is trying to powering-off ?.

For libvirt, it seems only know the “Power State”? Anyway to read the
“powering-off” info?

The fact that you have asked nova to power off the instance means nothing to libvirt/qemu.

In the "nova stop" case nova will do some housekeeping stuff, optionally tell libvirt to shutdown the domain cleanly, then tell libvirt to destroy the domain, then do more housekeeping stuff.

Chris


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to