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?





+--------------------------------------+------+--------+--------------+-------------+--------------------------------+



| ID                                   | Name | Status | Task State   | Power 
State | Networks                       |



+--------------------------------------+------+--------+--------------+-------------+--------------------------------+



| 09d65498-b1fe-4a99-9f43-4c365a79ff36 | c1   | ACTIVE | -            | Running 
    | public=172.24.4.6, 2001:db8::3 |



| 565da9ba-3c0c-4087-83ca-32a5a1b00a55 | iim1 | ACTIVE | powering-off | Running 
    | public=172.24.4.5, 2001:db8::7 |



+--------------------------------------+------+--------+--------------+-------------+--------------------------------+



+--------------------------------------+------+---------+------------+-------------+--------------------------------+



| ID                                   | Name | Status  | Task State | Power 
State | Networks                       |



+--------------------------------------+------+---------+------------+-------------+--------------------------------+



| 09d65498-b1fe-4a99-9f43-4c365a79ff36 | c1   | ACTIVE  | -          | Running  
   | public=172.24.4.6, 2001:db8::3 |



| 565da9ba-3c0c-4087-83ca-32a5a1b00a55 | iim1 | SHUTOFF | -          | Shutdown 
   | public=172.24.4.5, 2001:db8::7 |







Thanks.



Louie
__________________________________________________________________________
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