Keystone middleware makes two token validation calls in positive scenario

Bug #927627 reported by Unmesh Gurjar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Wishlist
Jesse Andrews

Bug Description

I am using the Keystone stable/diablo branch. I noticed that the Keystone middleware makes 2 Validate Token API calls (for single API call to a service configured for Keystone identity service). One call from the '_validate_claims' method and another from the '_expound_claims' method (to fetch the user data).
This results in increased response time of the Service using Keystone as identity service, also increases the load on the Keystone server.

Tags: legacy
Revision history for this message
Joseph Heck (heckj) wrote :

Unmesh - could you verify that you're referring to keystone/middleware/auth_token.py please?

tags: added: legacy
Changed in keystone:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Dolph Mathews (dolph) wrote :

auth_token was rewritten in 33e6c29d and I just audited trunk to verify that this has been fixed.

Changed in keystone:
milestone: none → essex-rc1
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Mark McLoughlin (markmc)
Changed in keystone:
assignee: nobody → Jesse Andrews (anotherjesse)
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-rc1 → 2012.1
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.