Ask Your Question
0

Where is the meta data I provide during a nova boot?

asked 2014-03-27 13:37:57 -0500

Salsero gravatar image

updated 2014-03-27 14:11:37 -0500

According to the Nova API there is supposed to be a file created called /meta.js on the destination instance when I perform a nova boot --meta and I cannot find it anywhere. See the screenshot of the nova boot below.

image description

So I did some digging around and discovered the meta data service which is available at: http://169.254.169.254/openstack/

So I CURLed that URL and got the following results which look like dates.

2012-08-10
2013-04-04
2013-10-17

Today's 2014-03-27 which doesn't make much sense, but I'll byte. So I query the first one and get the following output:

{"uuid": "544b435e-1676-4f91-b19a-28eb32f70f6e", "availability_zone": "nova", "hostname": "thursday-2-with-meta.novalocal", "launch_index": 0, "meta": {"host_name": "www.server.com", "server_type": "web"}, "name": "Thursday 2 with Meta"}

Inside I find my metadata. If I query the other two I get similar information plus some random seed. I can also CURL the IP address directly at: http://169.254.169.254 and get more stuff.

So my question is, what do I do with this? Are those date values going to be consistent? Where is my /meta.js file. Anyone have some good tutorial on how the whole nova boot works?

edit retag flag offensive close merge delete

Comments

I have the same issue.

If you use --user-data when booting your VM, I do see all that data under:

http://169.254.169.254/1.0/user-data

However, the --meta data is nowhere to be found. Even if I query the wrong dates as you have.

mhughes gravatar imagemhughes ( 2014-03-28 12:42:59 -0500 )edit

The --file attribute doesn't work either.

Salsero gravatar imageSalsero ( 2014-03-28 13:33:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-03-29 19:03:06 -0500

Salsero gravatar image

Ah ha! There's a ticket for it already open.

https://bugs.launchpad.net/nova/+bug/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2014-03-27 13:37:57 -0500

Seen: 1,453 times

Last updated: Mar 29 '14