← Back to team overview

openstack team mailing list archive

Re: [nova] a proposal to change metadata API data

 

On 07/24/2012 01:10 PM, Martin Packman wrote:
> On 24/07/2012, Jay Pipes <jaypipes@xxxxxxxxx> wrote:
>>
>> 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.
> 
> I'm not really seeing how that improves on the situation compared to
> the EC2 api. If a server needs to know its own id, it must either
> communicate with an external service or be able to use the compute
> api, which means putting credentials on the instance. Or am I missing
> a trick?

All I am saying is that Nova knows the instance's ID at the time that a
config-drive can be created and installed into the instance. You can't
do that with the "user data" EC2 API stuff, but you can with
config-drive. Which is why I was recommending using config-drive.

Best,
-jay


Follow ups

References