Comment 5 for bug 1321640

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

Reviewed: https://review.openstack.org/96660
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7523ab4d1956c024647e8106de88e34b2d999d50
Submitter: Jenkins
Branch: stable/icehouse

commit 7523ab4d1956c024647e8106de88e34b2d999d50
Author: jufeng <email address hidden>
Date: Wed May 21 16:24:53 2014 +0800

    Fix attaching config drive issue on Hyper-V when migrate instances

    After instance resized or migrated on Hyper-V hypervisor.
    The configdrive iso or vhd is copied to resized or migrated
    instance, but is not attached to instance.

    Because there are configurations for config drive like
    config_drive_cdrom, config_drive_format, and the configurations
    on different Hyper-V compute node may be different. it will need
    to convert configdrive format after resized or migrated.
    It is easy to convert from iso9660 or vfat to vhd, but it seems
    impossible to convert from vhd to iso9660 or vfat.
    So this commit just ignore the target Hyper-V compute node's
    config drive configurations, leave the original config drive format.

    Closes-Bug: #1321640
    (cherry picked from commit 513c6bbd36563e57a85d33f9c94f4a20ab7c00f4)

    Conflicts:
     nova/virt/hyperv/pathutils.py

    Change-Id: I349e3b2221fff0ae217a71a91895afd21ff7d18d