add project_id to liberty-versioned metadata
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.
- unique human-readable salt and puppet cert naming (again, hostname.
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:
- 12.0.0
- Started by
- John Garbutt
- Completed by
- John Garbutt
Related branches
Sprints
Whiteboard
Implemented in https:/
Gerrit topic: https:/
Addressed by: https:/
Include project_id in instance metadata.
Approved during nova meeting --johnthetubaguy 9th July 2015