openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15060
Re: [nova] a proposal to change metadata API data
On 07/24/2012 12:47 PM, Martin Packman wrote:
> On 23/07/2012, Jay Pipes <jaypipes@xxxxxxxxx> 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
Follow ups
References