← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1321298] [NEW] Periodic task cause errors in _finish_resize

 

Public bug reported:

In the event that an end user sets resize_confirm_window to something
small (say 1 in this example) there is a possibility that the periodic
task can run in nova/compute/manager.py:ComputeManager._finish_resize()
after the migration has been updated but before the instances has been
updated.

http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n3570


One possible solution to this would be to reverse the order, and update the instance before updating the migration, in which case the migration will get updated in _confirm_resize: http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n5018

** Affects: nova
     Importance: Undecided
         Status: Triaged


** Tags: compute resize

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

Title:
  Periodic task cause errors in _finish_resize

Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  In the event that an end user sets resize_confirm_window to something
  small (say 1 in this example) there is a possibility that the periodic
  task can run in
  nova/compute/manager.py:ComputeManager._finish_resize() after the
  migration has been updated but before the instances has been updated.

  http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n3570

  
  One possible solution to this would be to reverse the order, and update the instance before updating the migration, in which case the migration will get updated in _confirm_resize: http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n5018

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


Follow ups

References