openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #14169
Re: Anyone using instance metadata?
I'm getting lost in the naming of things here, it seems like we're saying:
"user-data is per instance data defined by the system and make accessible by the metadata service"
and
"meta-data is per instance data defined by the user via the API and injected into the instance or made available by the config drive"
Something in those definitions of meta-data and user-data just seems confusing to me ;-)
Phil
-----Original Message-----
From: openstack-bounces+philip.day=hp.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+philip.day=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Vishvananda Ishaya
Sent: 03 July 2012 20:08
To: Scott Moser
Cc: Openstack
Subject: Re: [Openstack] Anyone using instance metadata?
On Jul 3, 2012, at 11:51 AM, Scott Moser wrote:
> On Tue, 3 Jul 2012, Vishvananda Ishaya wrote:
>
>> Metadata is supposed to be user "tags" that are associated with a
>> guest that are available via the api. We discussed displaying these
>> tags inside the guest as well.
>
> Am I reading it wrong? It seems like it *is* available inside the guest.
> At very least with config drive on i know it is.
The config drive was a later addition because we thought it might be useful.
The plan was to add it to the metadata server once we had a /openstack available.
>
>> The main difference between user-data and metadata is that metadata
>> is available to the api, whereas user-data is only available in the guest.
>
> So to avoid confusion, if the intent was tags, I think we should
> disable the 'meta.js' file injection, and get over the screams now.
>
> half and half is just confusing.
>
> Thoughts?
Seems much more useful in metadata server than in config drive, but we should probably keep the same semantics we have been discussing
i.e. the same values are in both places. Config drive is information as it was during launch and metadata is current information.
Vish
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
Follow ups
References