Comment 9 for bug 1246327

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

Reviewed: https://review.openstack.org/57891
Committed: http://github.com/openstack/nova/commit/1d2a0b8cc640efc858242f070f96449f679b343a
Submitter: Jenkins
Branch: stable/havana

commit 1d2a0b8cc640efc858242f070f96449f679b343a
Author: Xavier Queralt <email address hidden>
Date: Wed Oct 30 21:25:55 2013 +0100

    Process image BDM earlier to avoid duplicates

    If the block device mapping from the image properties are not handled at
    the same time as the ones defined from the API, we might make the false
    assumption that the instance has no root and failing or, in the case
    we're booting from an image that only defines a BDM and has no disk,
    creating a local disk BDM as root and ending up with two root devices
    which is forbidden.

    This patch moves the handling of the image block device mappings to the
    same method were we check the ones provided throught the API. This
    allows nova to decide wether the instance needs a local disk from an
    image if no root device is defined in any of the block device mappings.

    Change-Id: Ide95357895ab4dd1338ab5ee3ec25294af1d010b
    Closes-Bug: #1246327
    (cherry picked from commit 482dfeb113f1e0ff814aa1fc980d67e0c8b06d76)