[Openstack] [nova] a proposal to change metadata API data

Jay Pipes jaypipes at gmail.com
Tue Jul 24 17:03:43 UTC 2012


On 07/24/2012 12:47 PM, Martin Packman wrote:
> On 23/07/2012, Jay Pipes <jaypipes at gmail.com> wrote:
>>
>> This is only due to the asinine EC2 API -- or rather the asinine
>> implementation in EC2 that doesn't create an instance ID before the
>> instance is launched.
> 
> So, I'm curious, how do you allocate a server id in advance using the
> openstack api so you can pass it in rather than relying on an external
> metadata service? I've not seen anything in the documentation
> describing how to do that.

The OpenStack Compute API POST /servers command creates a server UUID
that is passed back in the initial response and allows the user to query
the status of the server throughout its launch sequence.

http://docs.openstack.org/api/openstack-compute/2/content/CreateServers.html

-jay




More information about the Openstack mailing list