Comment 5 for bug 975655

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

Reviewed: https://review.openstack.org/8598
Committed: http://github.com/openstack/glance/commit/b3df0a8f2728592081676db1580d53ea2c6ff0bd
Submitter: Jenkins
Branch: stable/essex

commit b3df0a8f2728592081676db1580d53ea2c6ff0bd
Author: Adam Gandelman <email address hidden>
Date: Fri Apr 6 20:59:39 2012 -0700

    012_id_to_uuid: Also convert ramdisk + kernel ids

    The original migration converts numerical IDs to UUIDs. It updates
    image_members and image_properties that reference image_id, but stops
    short of updating actual properties that reference the new UUIDs,
    specifically kernel_ids and ramdisk_ids. This breaks launching
    of instances in Nova whos images are associated with a kernel and/or rd.

    Also, this fixes an issue when migrating against non-sqlite
    databases where the actual conversion is executed twice.

    Fixes bug 975655
    Fixes bug 975651

    Update: Only update kernel_ids and ramdisk_ids in image_properties
            when converting to UUIDs

    Change-Id: I76ecabc5ee266e2e9765740721e8ec1722cc5a7c