Comment 4 for bug 934534

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

Reviewed: https://review.openstack.org/4459
Committed: http://github.com/openstack/nova/commit/e3530a06c4d84e101e07bbe22075a0e2b3a72086
Submitter: Jenkins
Branch: master

commit e3530a06c4d84e101e07bbe22075a0e2b3a72086
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