[libvirt] Live migration fails when config_drive_format=iso9660
This patch enables block live migration with read-only config drive.
Basically it copies config drive to destination host prior to migration
start, so that QEMU will not try to write to read-only device and
therefore it will not raise an exception.
Co-Authored-By: Bartosz Fic <email address hidden>
Co-Authored-By: Michael Still <email address hidden>
Change-Id: I9ddaef658e3d9a77e4982275d7df9e56b0a5459f
Closes-Bug: #1246201
(cherry picked from commit bc4b9980fa74e15e98aed5633c61480c751767b5)
Reviewed: https:/ /review. openstack. org/365420 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=48d30c16d33 9c8d1218c3b85c9 da7a69f7e99bb8
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 48d30c16d339c8d 1218c3b85c9da7a 69f7e99bb8
Author: Pawel Koniszewski <email address hidden>
Date: Wed Jul 6 11:04:16 2016 +0200
[libvirt] Live migration fails when config_ drive_format= iso9660
This patch enables block live migration with read-only config drive.
Basically it copies config drive to destination host prior to migration
start, so that QEMU will not try to write to read-only device and
therefore it will not raise an exception.
Co-Authored-By: Bartosz Fic <email address hidden>
Co-Authored-By: Michael Still <email address hidden>
Change-Id: I9ddaef658e3d9a 77e4982275d7df9 e56b0a5459f e98aed5633c6148 0c751767b5)
Closes-Bug: #1246201
(cherry picked from commit bc4b9980fa74e15