To clarify step 2: "2 sleep the VM (windows:using the arrow button next to the Shut down button on the Start menu.)"
I'm assuming that's what you're doing on the guest VM? That's essentially not supported. Actions should be performed on the guest VM via the Nova API, like suspending or stopping the VM. The _sync_power_states periodic task in the compute manager is synchronizing the nova database (which thinks the instance was active) with the hypervisor (which shows the guest as suspended). So nova resolves the difference by stopping the instance. ** Tags added: compute ** Changed in: nova Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1553046 Title: suspended VMs are shutdown by nova compute Status in OpenStack Compute (nova): Invalid Bug description: version:Kilo (according to the src file ,I think Liberty has the same issue) Reproduce steps: 1 launch a VM 2 sleep the VM (windows:using the arrow button next to the Shut down button on the Start menu.) 3 wait a while ( shorter than seconds defined by CONF.sync_power_state_interval) Expected result: VM won't be shutdown. just keeping its' power_state(suspended) then it can quickly resume to normal state. Actual result: the VM was shutdown. and can't be resumed . need to run "nova start " first. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1553046/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp