Instance metadata should include project_id

Bug #1470179 reported by Andrew Bogott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
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
Changed in nova:
status: New → In Progress
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Low
Matt Riedemann (mriedem)
Changed in nova:
importance: Low → Wishlist
tags: added: api
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote : Cleanup

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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)
Changed in nova:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-2 → 12.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.