application credential cache is not invalidated

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

Bug Description

application credential cache is not invalidated when the related user is disabled/deleted or the related assignment is removed.

reproduce:
1. create an application credential.
2. get it for caching.
3. delete the related user (or disable it, or remove an assigned role)
4. get it again.

Expect: return 404 in step 4.
Actual: still return the deleted application credential.

wangxiyuan (wangxiyuan)
Changed in keystone:
assignee: nobody → wangxiyuan (wangxiyuan)
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/540700

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

Reviewed: https://review.openstack.org/540700
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=0af4391a08a7b2b83abe26bca64f8ac7e9a23333
Submitter: Zuul
Branch: master

commit 0af4391a08a7b2b83abe26bca64f8ac7e9a23333
Author: wangxiyuan <email address hidden>
Date: Mon Feb 5 10:34:20 2018 +0800

    Expose a bug that application credential cache is not invalidated

    Application credential cache is not invalidated when
    the related user is disabled/deleted or the related
    assignment is removed.

    This patch expose the bug and will fix it in the
    following patch.

    Change-Id: I8a43a6a57f049bc9501beca6f30057073ad41b12
    Partial-Bug: #1747332

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/540324
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=c6cfaadf5f0846c551f1331619a2b1e0d6823622
Submitter: Zuul
Branch: master

commit c6cfaadf5f0846c551f1331619a2b1e0d6823622
Author: wangxiyuan <email address hidden>
Date: Mon Feb 5 10:37:06 2018 +0800

    Add cache invalidation when delete application credential

    When delete application credentials for a user/project, the
    realted cache information should be invalidated as well.

    Closes-Bug: #1747332
    Change-Id: I431bf1921a636cce00a807f9d639628da8664c24

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

This issue was fixed in the openstack/keystone 13.0.0.0rc1 release candidate.

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.