Comment 6 for bug 934534

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (milestone-proposed)

Reviewed: https://review.openstack.org/4715
Committed: http://github.com/openstack/nova/commit/09e664c0f00326d3dea8c04ac661ca0a05bbf0f5
Submitter: Jenkins
Branch: milestone-proposed

commit 09e664c0f00326d3dea8c04ac661ca0a05bbf0f5
Author: Mike Milner <email address hidden>
Date: Thu Feb 23 15:13:51 2012 -0400

    Include launch_index when creating instances.

    Fixes bug 934534.

    The launch_index column in the database is used as the ami-launch-index value
    provided by the metadata service.

    If launch_index is not specified it defaults to 1. This is incorrect for the
    single instance case (should be 0) and doesn't correctly handle multi-instance
    starts.

    This branch changes the default launch_index to 0 (to handle the single
    instance case) and adds the launch_index in the schedulers for multi-instance
    starts.

    Change-Id: Ifc45abf4cd9f50f732ba4a4b68c0a6242a6c9710