Implement caching for Tokens and Token Validation

Bug #1216478 reported by OpenStack Infra
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Deepti Navale

Bug Description

https://review.openstack.org/43195
commit a4cee20a1a376a9d84b74e0ecf67af2c6858795b
Author: Morgan Fainberg <email address hidden>
Date: Sat Aug 24 19:16:30 2013 -0700

    Implement caching for Tokens and Token Validation

    Based upon the keystone caching (using dogpile.cache) implementation
    token caching is implemented in this patchset.

    This patchset inclues basic Token caching as the first implemntation
    of this caching layer. The following methods are cached:
        * token_api.get_token,
        * token_api.list_revoked_tokens
        * token_provider_api.validate_v3_token
        * token_provider_api.check_v3_token
        * token_provider_api.check_v2_token
        * token_provider_api.validate_v2_token
        * token_provider_api.validate_token

    Calls to token_api.delete_token and token_api.delete_tokens will
    properly invalidate the cache for the tokens being acted upon, as
    well as invalidating the cache for the revoked_tokens_list and the
    validate/check token calls.

    Token caching is configurable independantly of the revocation_list
    caching.

    DocImpact

    partial-blueprint: caching-layer-for-driver-calls
    Change-Id: Ifada0db0043fede504a091670ccc521196c2f19c

Tags: keystone
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: havana → juno
Revision history for this message
Anne Gentle (annegentle) wrote :

Also another patchset worked on this, but consolidating all doc impact to this single bug.

https://review.openstack.org/43566
commit 798ad16b705ca4c962c92ee0fcb5b92d153c39c0
Author: Morgan Fainberg <email address hidden>
Date: Fri Aug 23 19:06:42 2013 -0700

    Implement Caching for Token Revocation List

    Based upon the Keystone caching (using dogpile.cache) implementation
    token revocation list caching is implemented in this patchset.

    The following methods are cached:
        * token_api.list_revoked_tokens

    Calls to token_api.delete_token and token_api.delete_tokens will
    properly invalidate the cache for the revocation list.

Deepti Navale (dnavale)
Changed in openstack-manuals:
assignee: nobody → Deepti Navale (dnavale)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/111871
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=5d2bad390a6cb98f0678754ea891d3488715b631
Submitter: Jenkins
Branch: master

commit 5d2bad390a6cb98f0678754ea891d3488715b631
Author: Deepti Navale <email address hidden>
Date: Mon Aug 4 13:25:30 2014 +1000

    Included a 'Caching' section to the Identity chapter

    New section for 'Caching' with subsections for tokens and
    token validation and assignment using CRUD.

    Change-Id: Id68ec3b6e5dfa20123807ffa42a19c79c3123b41
    Closes-bug: #1216478
    Closes-bug: #1218194

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.