add project_id to liberty-versioned metadata

Registered by Andrew Bogott

Proposal:

Add a new metadata API version dated 2015-10-15 which includes 'project_id,' the id for the tenant that contains the described instance.

Motivation:

Instances running in Wikimedia Labs need to know their project id for quite a few reasons:
- whether or not to mount shared volumes and which volumes to mount
- application of project-specific puppet rules
- unique domain-name assigment (hostname.projectid.eqiad.wmflabs)
- unique human-readable salt and puppet cert naming (again, hostname.projectid.eqiad.wmflabs)

I'm currently learning the id via a couple of embarrassing hacks. It turns out that other users on the openstack mailing list have come up with yet more creative ways to accomplish the same. This proposal would let all of us prune out a bunch of custom code.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Andrew Bogott
Direction:
Approved
Assignee:
Andrew Bogott
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Implemented in https://review.openstack.org/#/c/197185

Gerrit topic: https://review.openstack.org/#q,topic:bug/1470179,n,z

Addressed by: https://review.openstack.org/197185
    Include project_id in instance metadata.

Approved during nova meeting --johnthetubaguy 9th July 2015

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.