[Openstack] [Nova] The server instance changes from 'shutoff' to 'active' after created an instance snapshot

2012-07-11 Thread Wangpan
Hi all, These are what I did (nova version is 'Essex'): 1. logon the instance 2. shutdown it using 'shutdown -h now' 3. wait a few minutes until the instance's vm_state, power_state change to 'shutoff', '5' respectively 4. run cmd 'nova image-create server name' to snapshot the server instance

Re: [Openstack] [Nova] The server instance changes from 'shutoff' to 'active' after created an instance snapshot

2012-07-11 Thread Yun Mao
Hi, What you describe seems like a bug. If the VM is running when you do snapshot, the VM will be temporarily suspended, snapshotted, then resumed. But if the VM is off when you do snapshot, the VM should remained to be off after the snapshot, not to be set back to the ACTIVE state. Would you