KeyError: 'tenantId' in /opt/stack/keystone/keystone/middleware/auth_token.py

Bug #863661 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Unassigned

Bug Description

The api has changed, but the auth token middleware has not been updated

(nova.api.openstack): TRACE: Traceback (most recent call last):
(nova.api.openstack): TRACE: File "/opt/stack/nova/nova/api/openstack/__init__.py", line 64, in __call__
(nova.api.openstack): TRACE: return req.get_response(self.application)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.7/webob/request.py", line 937, in get_response
(nova.api.openstack): TRACE: application, catch_exc_info=False)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.7/webob/request.py", line 906, in call_application
(nova.api.openstack): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack): TRACE: File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 162, in __call__
(nova.api.openstack): TRACE: claims = self._expound_claims(claims)
(nova.api.openstack): TRACE: File "/opt/stack/keystone/keystone/middleware/auth_token.py", line 294, in _expound_claims
(nova.api.openstack): TRACE: tenant = token_info['access']['user']['tenantId']
(nova.api.openstack): TRACE: KeyError: 'tenantId'

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/keystone

Reviewed: https://review.openstack.org/775
Committed: http://github.com/openstack/keystone/commit/61148fbdbc41f8791243381a19dfc2136cd0594d
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 61148fbdbc41f8791243381a19dfc2136cd0594d
Author: Dolph Mathews <email address hidden>
Date: Fri Sep 30 16:21:04 2011 -0500

    Updating legacy auth translation to 2.0 (bug #863661)

    Change-Id: I3a31beec9a5bd0ced70c2e93e7dbdaba072b1f0c

Changed in keystone:
status: New → Fix Committed
Joe Savak (jsavak)
tags: added: diablo-backport
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
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.