Comment 42 for bug 1246201

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

Reviewed: https://review.openstack.org/168646
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7c4be65733e48dcf44bc306ab964fafb71b37774
Submitter: Jenkins
Branch: stable/juno

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.

    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>
    Change-Id: I7429e12766da7f7f8d484b3a9df6247e832816b0
    Partial-Bug: #1246201
    (cherry picked from commit 4e665112f275f17a90c6f96daa805af652c66fa0)