← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1274137] [NEW] Libvirt driver suspend returns before completion of the task

 

Public bug reported:

The suspend() function in libvirt driver issues a managedsave() call and
returns immediately. This will result in the compute manager setting
task_state to None from 'suspending'.

This is not good. It's possible for a host to be set to reboot assuming
all VMs are in stable states or other Operations on the VM itself may
get through for task_state is None.

It would be good if driver suspend() actually wait for the power_state
to move from PAUSED to SHUTOFF and then return control to the manager.
This would make sure there are no inconsistent task_states reported.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Libvirt driver suspend returns before completion of the task

Status in OpenStack Compute (Nova):
  New

Bug description:
  The suspend() function in libvirt driver issues a managedsave() call
  and returns immediately. This will result in the compute manager
  setting task_state to None from 'suspending'.

  This is not good. It's possible for a host to be set to reboot
  assuming all VMs are in stable states or other Operations on the VM
  itself may get through for task_state is None.

  It would be good if driver suspend() actually wait for the power_state
  to move from PAUSED to SHUTOFF and then return control to the manager.
  This would make sure there are no inconsistent task_states reported.

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


Follow ups

References