Instance metadata should include project_id

Bug #1470179 reported by Andrew Bogott on 2015-06-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Wishlist
Andrew Bogott

Bug Description

As per

https://www.mail-archive.com/search?<email address hidden>&q=subject:%22Re\%3A+\[Openstack\]+How+should+an+instance+learn+what+tenant+it+is+in\%3F%22&o=newest

It's weirdly hard for an instance to learn what project it's in. Let's just add project_id to instance metadata.

Tags: api Edit Tag help
Changed in nova:
status: New → In Progress
Matt Riedemann (mriedem) on 2015-07-06
Changed in nova:
importance: Undecided → Low
Matt Riedemann (mriedem) on 2015-07-06
Changed in nova:
importance: Low → Wishlist
tags: added: api

Solving an inconsistency: The bug is 'In Progress' but without an assignee. I set the status back to the last known status before the change to 'In Progress'.

Feel free to assign the bug to yourself. If you do so, please set it to 'In Progress'.

Changed in nova:
status: In Progress → New
Changed in nova:
assignee: nobody → Andrew Bogott (andrewbogott)
status: New → In Progress

Reviewed: https://review.openstack.org/197185
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9260ea1493fa4dfdb648f9376782a82f52664e5b
Submitter: Jenkins
Branch: master

commit 9260ea1493fa4dfdb648f9376782a82f52664e5b
Author: andrewbogott <email address hidden>
Date: Tue Jun 30 01:07:55 2015 -0500

    Include project_id in instance metadata.

    Instances sometimes need to know what project they're
    in in order to manage permissions or naming. This
    change allows an instance to grab its project id without
    needing keystone auth or other work-arounds.

    Implements blueprint project-id-in-metadata
    DocImpact: Update release notes and the metadata-service doc page.
    Closes-Bug: #1470179
    Change-Id: Idf2ea1473a545a51e1a4e50579da585d8f674f74

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2015-07-28
Changed in nova:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2015-10-15
Changed in nova:
milestone: liberty-2 → 12.0.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers