We need to make sure we sync the state of the instance the same way we
do for do_confirm_resize. Previously, we were not syncing the instance
on revert or finish resize. We do this so that we can update the
migration and instance resize update orders. Previously if you set
resize_confirm_window to some small value, your resized instance could
go into error state because the periodic task was run after the
migration was updated but before the instance object was updated. This
change makes it so the instance is always updated before the migration.
Reviewed: https:/ /review. openstack. org/98110 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d27987fa561 56392c06b1185b4 4e36dc9720435c
Committed: https:/
Submitter: Jenkins
Branch: master
commit d27987fa5615639 2c06b1185b44e36 dc9720435c
Author: Lance Bragstad <email address hidden>
Date: Thu Jun 5 13:30:00 2014 +0000
Sync revert and finish resize on instance.uuid
We need to make sure we sync the state of the instance the same way we confirm_ window to some small value, your resized instance could
do for do_confirm_resize. Previously, we were not syncing the instance
on revert or finish resize. We do this so that we can update the
migration and instance resize update orders. Previously if you set
resize_
go into error state because the periodic task was run after the
migration was updated but before the instance object was updated. This
change makes it so the instance is always updated before the migration.
Change-Id: Iaad1a05864b2b4 6180cadf16198b0 fd8583c6703
Closes-Bug: 1326778