Glance Registry: No way to use Context middleware without keystone auth_token middleware

Bug #1199990 reported by Alex Meade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Alex Meade

Bug Description

The Context middleware depends on a number of request headers being present. Typically, the auth_token middleware will query keystone with an auth token and then construct teh necessary headers.

Glance api needs to be able to send these headers incase we want to have an authenticated user in glance registry without querying auth for user information via auth_token middleware.

These headers are:
'X-User-Id
X-Tenant-Id
X-Roles
X-Identity-Status
X-Service-Catalog

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/36563

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/36563
Committed: http://github.com/openstack/glance/commit/3fa3891595463259f467e31d1d635e8f96a8f9dd
Submitter: Jenkins
Branch: master

commit 3fa3891595463259f467e31d1d635e8f96a8f9dd
Author: Alex Meade <email address hidden>
Date: Wed Jul 10 18:45:40 2013 +0000

    Glance api to pass identity headers to registry v1

    This patch introduces the send_identity_headers
    config option that allows glance-api to pass auth identity
    headers when making calls to the registry v1.

    docImpact
    Fixes bug 1199990

    Change-Id: Ie5f07ed6dfeaa8428de4f79c4d40d182328e6ab4

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-3
status: Fix Committed → Fix Released
Revision history for this message
Yang Yu (yuyangbj) wrote : I will be on vacation from 9/5 to 9/15, urgent call: 13811509950

I will be out of the office starting 2013-09-05 and will not return until
2013-09-15.

I will be on my marriage leave from 9/5 to 9/15, for any urgent issue
please call me before 9/7.

For daily work, please ask my scrum master Zhu Zhu for help.
For glance issue, please ask glance SME Feilong Wang for help.
For defect report, there will be no report next week.

Thierry Carrez (ttx)
Changed in glance:
milestone: havana-3 → 2013.2
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.