live migration hang if powervc fails to migrate

Bug #1393663 reported by Terry Yao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Committed
Undecided
Unassigned

Bug Description

live migration hang if powervc fails to migrate as powervc driver only wait for the dest host to be different than source host on powervc side. If migration fails on powervc side, powervc will not change the instance host, and the sate will set to "Active".

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/135019
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=4c72a1fdba4d671d4c302c274fda213b2dc1ced5
Submitter: Jenkins
Branch: master

commit 4c72a1fdba4d671d4c302c274fda213b2dc1ced5
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
    Change-Id: Ifb826bafa692b51f3d5997d427e10fbe17a21ca6

Changed in powervc-driver:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/135169

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (stable/juno)

Reviewed: https://review.openstack.org/135169
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=661a44feb8127b4f57940dc93f29557e7c5fb58d
Submitter: Jenkins
Branch: stable/juno

commit 661a44feb8127b4f57940dc93f29557e7c5fb58d
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
    Change-Id: Ifb826bafa692b51f3d5997d427e10fbe17a21ca6
    (cherry picked from commit 4c72a1fdba4d671d4c302c274fda213b2dc1ced5)

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

Fix proposed to branch: master
Review: https://review.openstack.org/135174

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/135174
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=5a255d5d95158171aa5bed7faa9f8e497333fa55
Submitter: Jenkins
Branch: master

commit 5a255d5d95158171aa5bed7faa9f8e497333fa55
Author: Terry Yao <email address hidden>
Date: Tue Nov 18 14:12:02 2014 +0800

    fix pep8 issue on powervc driver

    Fix some pep8 issue introduced in recent code change

    Closes-Bug: #1393663
    Change-Id: I6f18600d000725122f6c6cc4f27ca0b37c2037f4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/135177

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (stable/juno)

Reviewed: https://review.openstack.org/135177
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=d4bc33405369eeec62b29b82848305f9f3c787fd
Submitter: Jenkins
Branch: stable/juno

commit d4bc33405369eeec62b29b82848305f9f3c787fd
Author: Terry Yao <email address hidden>
Date: Tue Nov 18 14:12:02 2014 +0800

    fix pep8 issue on powervc driver

    Fix some pep8 issue introduced in recent code change

    Closes-Bug: #1393663
    Change-Id: I6f18600d000725122f6c6cc4f27ca0b37c2037f4
    (cherry picked from commit 5a255d5d95158171aa5bed7faa9f8e497333fa55)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.