Comment 15 for bug 1576093

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

Reviewed: https://review.openstack.org/328910
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4bc51937a26041fbe38d6ed388942332458905ef
Submitter: Jenkins
Branch: stable/mitaka

commit 4bc51937a26041fbe38d6ed388942332458905ef
Author: Eli Qiao <email address hidden>
Date: Mon Jun 13 10:58:29 2016 +0200

    libvirt: Prevent block live migration with tunnelled flag

    libvirt will report "Selecting disks to migrate is not
    implemented for tunneled migration" while doing block migration
    with VIR_MIGRATE_TUNNELLED flag.

    This patch does 2 changes:

    1. Raise exception.MigrationPreCheckError if block live migration with
       with mapped volumes and tunnelled flag on.
    2. Remove migrate_disks from params of migrateToURI3 in case of
       tunnelled block live migration w/o mapped volumes since we want
       to copy all disks to destination

    Co-Authored-By: Pawel Koniszewski <email address hidden>
    Closes-bug: #1576093

    Conflicts:
     nova/tests/unit/virt/libvirt/test_driver.py
     nova/virt/libvirt/driver.py

    Change-Id: Id6e49f298133c53d21386ea619c83e413ef3117a
    (cherry picked from commit 1885a39083776605348523002f4a6aedace12cce)