← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195849] Re: _sync_power_state fails when instance is powered off

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
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/1195849

Title:
  _sync_power_state fails when instance is powered off

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  At this commit level on master:

  https://github.com/openstack/nova/commit/4a4988a0a8ea7971ea80a1d9e96f0becc6958dda

  Using the powervm driver, this is the scenario:

  1. Boot an instance, setup networking, etc, everything is fine, the instance vm_state is ACTIVE and power_state is 1 (running).
  2. From the backing IVM hypervisor, stop the instance.
  3. Wait 15 minutes (the default sync power state task is 10 minute intervals, this hasn't been changed in the config).
  4. Check the instance status, the vm_state is still ACTIVE but should be SHUTDOWN because the _sync_power_state method in the compute manager should clean it up based on the state of the instance in the hypervisor.

  There is a stack trace in the logs from when the sync_power_state task
  is running:

  http://paste.openstack.org/show/39361/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1195849/+subscriptions