Use TENANT_ID instead of TENANT for project_id
Change-Id: Ia35dd1d1041a8a9f14e4f54e2483d3af9c847904 Cc: stable-maintainers
This commit is contained in:
parent
37ff5b6883
commit
d63875b45b
@ -41,7 +41,7 @@ class NovaKeystoneContext(wsgi.Middleware):
|
|||||||
return webob.exc.HTTPUnauthorized()
|
return webob.exc.HTTPUnauthorized()
|
||||||
# get the roles
|
# get the roles
|
||||||
roles = [r.strip() for r in req.headers.get('X_ROLE', '').split(',')]
|
roles = [r.strip() for r in req.headers.get('X_ROLE', '').split(',')]
|
||||||
project_id = req.headers['X_TENANT']
|
project_id = req.headers['X_TENANT_ID']
|
||||||
# Get the auth token
|
# Get the auth token
|
||||||
auth_token = req.headers.get('X_AUTH_TOKEN',
|
auth_token = req.headers.get('X_AUTH_TOKEN',
|
||||||
req.headers.get('X_STORAGE_TOKEN'))
|
req.headers.get('X_STORAGE_TOKEN'))
|
||||||
|
Loading…
Reference in New Issue
Block a user