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

Bug #1362075 reported by Alessandro Pilotti on 2014-08-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Adelina Tuvenie
Juno
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.

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

Changed in nova:
assignee: nobody → Alessandro Pilotti (alexpilotti)
status: Triaged → In Progress
Changed in nova:
assignee: Alessandro Pilotti (alexpilotti) → Claudiu Belu (cbelu)

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)

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

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.

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) on 2015-02-05
Changed in nova:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2015-04-30
Changed in nova:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers