Fixes a few things. If instance went to error, we should set the
migration to error so we don't retry. Also, if we get any other
exceptions when trying to confirm resizes, we should not bail out of the
loop. Also: be nice to other greenthreads and yield on each iteration.
Includes complete unit test for xenapi poll_unconfirmed_resizes which
didn't exist prior to this patch.
Reviewed: https:/ /review. openstack. org/6124 github. com/openstack/ nova/commit/ 16b01aa96532d78 9dba189029764aa d82ab6c362
Committed: http://
Submitter: Jenkins
Branch: master
commit 16b01aa96532d78 9dba189029764aa d82ab6c362
Author: Chris Behrens <email address hidden>
Date: Mon Apr 2 22:19:26 2012 +0000
Auto-confirming resizes would bail on exceptions
Fixes bug 971939
Fixes a few things. If instance went to error, we should set the
migration to error so we don't retry. Also, if we get any other
exceptions when trying to confirm resizes, we should not bail out of the
loop. Also: be nice to other greenthreads and yield on each iteration.
Includes complete unit test for xenapi poll_unconfirme d_resizes which
didn't exist prior to this patch.
Change-Id: I6f7c1ccfd4be0f 1497727d817130a 821902d134d