Fix infinite loop wait for live-migration completion
PowerVC will set VM state to "Active" if the live migration failed as
the source host or dest host is running live migration. With our current
code, we are looping wait for the migration to be completed until the
powervc instance's host has been changed. That's definitely wrong..
Closes-Bug: #1393663
Change-Id: Ifb826bafa692b51f3d5997d427e10fbe17a21ca6
(cherry picked from commit 4c72a1fdba4d671d4c302c274fda213b2dc1ced5)
Reviewed: https:/ /review. openstack. org/135169 /git.openstack. org/cgit/ stackforge/ powervc- driver/ commit/ ?id=661a44feb81 27b4f57940dc93f 29557e7c5fb58d
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 661a44feb8127b4 f57940dc93f2955 7e7c5fb58d
Author: terryyao <email address hidden>
Date: Tue Nov 18 01:40:28 2014 +0800
Fix infinite loop wait for live-migration completion
PowerVC will set VM state to "Active" if the live migration failed as
the source host or dest host is running live migration. With our current
code, we are looping wait for the migration to be completed until the
powervc instance's host has been changed. That's definitely wrong..
Closes-Bug: #1393663 1f3d5997d427e10 fbe17a21ca6 d4c302c274fda21 3b2dc1ced5)
Change-Id: Ifb826bafa692b5
(cherry picked from commit 4c72a1fdba4d671