Live migration fails on Hyper-V when boot from volume is used

Bug #1362075 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Adelina Tuvenie
Juno
Fix Released
Undecided
Unassigned

Bug Description

Live migration fails on Hyper-V when boot from volume is used with CoW, as the target host tries to cache the root disk image in pre_live_migration, but in this case the image_ref is empty.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Alessandro Pilotti (alexpilotti)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/117153

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/117154

Changed in nova:
assignee: Alessandro Pilotti (alexpilotti) → Claudiu Belu (cbelu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/havana)

Change abandoned by Alessandro Pilotti (<email address hidden>) on branch: stable/havana
Review: https://review.openstack.org/117154
Reason: Np!

Changed in nova:
assignee: Claudiu Belu (cbelu) → Adelina Tuvenie (atuvenie)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/117152
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d3758b6532f36f24862d05a761878599d4160974
Submitter: Jenkins
Branch: master

commit d3758b6532f36f24862d05a761878599d4160974
Author: Alessandro Pilotti <email address hidden>
Date: Wed Aug 27 12:30:40 2014 +0300

    Fixes Hyper-V boot from volume live migration

    Live migration fails on Hyper-V when boot from volume is used with
    CoW, as the target host tries to cache the root disk image in
    pre_live_migration, but in this case the image_ref is empty.

    This patch adds a check to handle the empty image_ref case.

    Co-Authored-By: Claudiu Belu <email address hidden>
    Co-Authored-By: Adelina Tuvenie <email address hidden>

    Change-Id: I60cb60ccaeb0cb8c536906d897249e31ae396923
    Closes-Bug: #1362075

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/icehouse)

Change abandoned by Sean Dague (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/117153
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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

Reviewed: https://review.openstack.org/149412
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=af3af7755b31dad1f8efa6260a4d6b31e136ad4a
Submitter: Jenkins
Branch: stable/juno

commit af3af7755b31dad1f8efa6260a4d6b31e136ad4a
Author: Alessandro Pilotti <email address hidden>
Date: Wed Aug 27 12:30:40 2014 +0300

    Fixes Hyper-V boot from volume live migration

    Live migration fails on Hyper-V when boot from volume is used with
    CoW, as the target host tries to cache the root disk image in
    pre_live_migration, but in this case the image_ref is empty.

    This patch adds a check to handle the empty image_ref case.

    Note(claudiub): test_livemigrationops.py change (1 line) was not
    included, since the file did not exist in Juno.

    Co-Authored-By: Claudiu Belu <email address hidden>
    Co-Authored-By: Adelina Tuvenie <email address hidden>

    (cherry picked from commit d3758b6532f36f24862d05a761878599d4160974)

    Conflicts:
     nova/tests/unit/virt/hyperv/test_livemigrationops.py

    Change-Id: I60cb60ccaeb0cb8c536906d897249e31ae396923
    Closes-Bug: #1362075

tags: added: in-stable-juno
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-2 → 2015.1.0
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.