Who would be the resource to request the addition of the Region ID to the http://169.254.169.254/openstack/meta_data JSON output?

asked 2014-06-16 12:20:18 -0500

brucemathews gravatar image

The meta_data.json output currently includes this:

{ "uuid": "d8e02d56-2648-49a3-bf97-6be8f1204f38", "availability_zone": "nova", "hostname": "test.novalocal", "launch_index": 0, "meta": { "priority": "low", "role": "webserver" }, "public_keys": { "mykey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDYVEprvtYJXVOBN0XNKVVRNCRX6BlnNbI+USLGais1sUWPwtSg7z9K9vhbYAPUZcq8c/s5S9dg5vTHbsiyPCIDOKyeHba4MUJq8Oh5b2i71/3BISpyxTBH/uZDHdslW2a+SrPDCeuMMoss9NFhBdKtDkdG9zyi0ibmCP6yMdEX8Q== Generated by Nova\n" }, "name": "test" }

We would like to have the following output added:

{ "uuid": "d8e02d56-2648-49a3-bf97-6be8f1204f38", "region": "RegionOne" "availability_zone": "nova", "hostname": "test.novalocal", "launch_index": 0, "meta": { "priority": "low", "role": "webserver" }, "public_keys": { "mykey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDYVEprvtYJXVOBN0XNKVVRNCRX6BlnNbI+USLGais1sUWPwtSg7z9K9vhbYAPUZcq8c/s5S9dg5vTHbsiyPCIDOKyeHba4MUJq8Oh5b2i71/3BISpyxTBH/uZDHdslW2a+SrPDCeuMMoss9NFhBdKtDkdG9zyi0ibmCP6yMdEX8Q== Generated by Nova\n" }, "name": "test" }

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-16 16:47:52 -0500

larsks gravatar image

You can open up a request for the change in the Nova launchpad, https://bugs.launchpad.net/nova . You would probably need to demonstrate what behavior is enabled by adding the region information to this response that cannot be obtained via existing mechanisms. You would have better luck getting the change accepted if along with the RFE you were also to submit changes to nova to implement this feature request.

You can read about submitting code changes here:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-16 12:20:18 -0500

Seen: 257 times

Last updated: Jun 16 '14