commit 7c4be65733e48dcf44bc306ab964fafb71b37774
Author: Luo Gangyi <email address hidden>
Date: Wed Nov 12 01:42:37 2014 -0800
libvirt: partial fix for live-migration with config drive
In current version of nova, live-migration with config drive on
local disk is forbidden due to the bug of libvirt of copying readonly
disk. However, if we use vfat as the format of config drive,
the function of live-migration works well.
In this patch, we re-open the function of live-migration to admin users.
Notice you should add 'config_drive_format=vfat' in nova.conf explicitly.
This patch doesn't solve the problem fundamentally which need further
efforts, but offers a simple and feasible workaround to user.
1. The tests being moved in Kilo.
2. Not having commit 152fb73a3 in stable/juno, this is why we
remove the volume entry from the expected return data.
3. Not having commit 96195d51f in stalbe/juno, this is why we
aren't using objects in the test and have to explicitly
set name and kernel_id on self.test_instance.
Reviewed: https:/ /review. openstack. org/168646 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7c4be65733e 48dcf44bc306ab9 64fafb71b37774
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 7c4be65733e48dc f44bc306ab964fa fb71b37774
Author: Luo Gangyi <email address hidden>
Date: Wed Nov 12 01:42:37 2014 -0800
libvirt: partial fix for live-migration with config drive
In current version of nova, live-migration with config drive on
local disk is forbidden due to the bug of libvirt of copying readonly
disk. However, if we use vfat as the format of config drive,
the function of live-migration works well.
In this patch, we re-open the function of live-migration to admin users. drive_format= vfat' in nova.conf explicitly.
Notice you should add 'config_
This patch doesn't solve the problem fundamentally which need further
efforts, but offers a simple and feasible workaround to user.
DocImpact
Conflicts:
nova/ tests/unit/ virt/libvirt/ test_driver. py
NOTE(mriedem): The conflicts are due to:
1. The tests being moved in Kilo.
2. Not having commit 152fb73a3 in stable/juno, this is why we
remove the volume entry from the expected return data.
3. Not having commit 96195d51f in stalbe/juno, this is why we
aren't using objects in the test and have to explicitly
set name and kernel_id on self.test_instance.
Co-Authored-By: Davanum Srinivas <email address hidden> 7f8d484b3a9df62 47e832816b0 a90c6f96daa805a f652c66fa0)
Change-Id: I7429e12766da7f
Partial-Bug: #1246201
(cherry picked from commit 4e665112f275f17