diff options
| author | Mike Milner <mike.milner@canonical.com> | 2012-02-23 15:13:51 -0400 |
|---|---|---|
| committer | Mike Milner <mike.milner@canonical.com> | 2012-02-23 21:34:52 -0400 |
| commit | e3530a06c4d84e101e07bbe22075a0e2b3a72086 (patch) | |
| tree | 7fd3f10776ea91582b6652524be8ba1577cca5b4 /nova/api | |
| parent | 7c4e31e639c0a96778fb7a158f6e5106bc3f2abb (diff) | |
| download | nova-e3530a06c4d84e101e07bbe22075a0e2b3a72086.tar.gz nova-e3530a06c4d84e101e07bbe22075a0e2b3a72086.tar.xz nova-e3530a06c4d84e101e07bbe22075a0e2b3a72086.zip | |
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
Diffstat (limited to 'nova/api')
0 files changed, 0 insertions, 0 deletions
