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
Reviewed: https:/ /review. openstack. org/328910 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4bc51937a26 041fbe38d6ed388 942332458905ef
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 4bc51937a26041f be38d6ed3889423 32458905ef
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 TUNNELLED flag.
implemented for tunneled migration" while doing block migration
with VIR_MIGRATE_
This patch does 2 changes:
1. Raise exception. MigrationPreChe ckError 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: tests/unit/ virt/libvirt/ test_driver. py virt/libvirt/ driver. py
nova/
nova/
Change-Id: Id6e49f298133c5 3d21386ea619c83 e413ef3117a 5348523002f4a6a edace12cce)
(cherry picked from commit 1885a3908377660