update auth_token to support memcache

Bug #938253 reported by Jesse Andrews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Chmouel Boudjnah

Bug Description

With the landing of the redux branch we lost changes to auth_token.py that were made during essex (redux had the stable/diablo version).

We need to update this version to added memcache support for caching token validation

Changed in keystone:
assignee: nobody → Chmouel Boudjnah (chmouel)
Revision history for this message
Jesse Andrews (anotherjesse) wrote :
Revision history for this message
Jesse Andrews (anotherjesse) wrote :
Revision history for this message
Chmouel Boudjnah (chmouel) wrote :

I have run a diff and here are the updated changes from legacy keystone :

- A service_ids feature which seems to be HP specific :
            self.service_id_querystring = '?HP-IDM-serviceId=%s' % \
                                (urllib.quote(service_ids))

- added Exceptions: ValidationFailed, TokenExpired

- service_timeout configuration variable to pass to http_connect
- auth_timeout configuration variable to pass to http_connect
- Cert/Key file.
- Token Caching.
- OS-KSValidate (???).
- More logging.
- Some function as staticmethods.

Revision history for this message
Jesse Andrews (anotherjesse) wrote :

Chmouel - can you open a bug for each of these (if applicable).

I've updated this bug to be about memcache feature of auth_token

summary: - need to update auth_token to most recent version
+ update auth_token to support memcache
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
status: Confirmed → In Progress
Joseph Heck (heckj)
Changed in keystone:
milestone: none → essex-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/4445
Committed: http://github.com/openstack/keystone/commit/b5c8b3a81911491c97ee95e741c75ffd269f382a
Submitter: Jenkins
Branch: master

commit b5c8b3a81911491c97ee95e741c75ffd269f382a
Author: Chmouel Boudjnah <email address hidden>
Date: Fri Mar 2 15:31:54 2012 +0000

    Add token caching via memcache.

    - Fixes bug 938253
    - caching requires both python-memcache and iso8601

    Change-Id: I23d5849aad4c6a2333b903eaca6d4f00be8615d3

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
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.