Incorrect status check during clustered vm migration
Bug #1628938 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-win |
Fix Released
|
Undecided
|
Lucian Petrut |
Bug Description
When migrating a clustered VM, we rely on the cluster resource group status in order to determine whether the VM was properly migrated.
After a migration is requested, the resource group immediately enters a 'pending' state. At the moment, the method polling the resource group state uses a list of valid transition states, incorrectly appending the desired state of the resource group to this list.
This causes issues if the migration fails, as we're not going to detect this and we'll continue polling indefinitely (unless a timeout is passed).
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/379486 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=d4ad19dc0fa 90466d2b0ac0b9d aa0830fdb6c467
Committed: https:/
Submitter: Jenkins
Branch: master
commit d4ad19dc0fa9046 6d2b0ac0b9daa08 30fdb6c467
Author: Lucian Petrut <email address hidden>
Date: Thu Sep 29 16:59:09 2016 +0300
Fix clustered VM migration status polling
When migrating a clustered VM, we rely on the cluster resource
group status in order to determine whether the VM was properly
migrated.
After a migration is requested, the resource group immediately
enters a 'pending' state. At the moment, the method polling the
resource group state uses a list of valid transition states,
incorrectly appending the desired state of the resource group
to this list.
This causes issues if the migration fails, as we're not going to
detect this and we'll continue polling indefinitely (unless a
timeout is passed).
This change fixes this issue by removing the desired state from
the valid transition states list.
Change-Id: Id1bdd6ccc6a2a6 abc99e86ca362e0 3eb5adb66a2
Closes-Bug: #1628938