Revoke v3 token on logout

Bug #1331978 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openstack-auth
Fix Released
Medium
Lin Hua Cheng

Bug Description

The code is here:
https://github.com/openstack/django_openstack_auth/blob/master/openstack_a
uth/views.py#L101

As it turns out, if you're running Keystone v3 API the token deletion
doesn't happen (see the FIXME on line 130). Aside from that, it would
only fail if the call to Keystone itself fails. It would be a good idea
to fix that FIXME so there's parity between the two code paths.

Dependent on this:

https://bugs.launchpad.net/python-keystoneclient/+bug/1331972

description: updated
David Lyle (david-lyle)
Changed in django-openstack-auth:
status: New → Confirmed
importance: Undecided → Medium
Changed in django-openstack-auth:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to django_openstack_auth (master)

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

Changed in django-openstack-auth:
status: Confirmed → In Progress
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

django_openstack_auth is now using python-keystoneclient>=0.11.1 which has the v3 revoke_token exposed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to django_openstack_auth (master)

Reviewed: https://review.openstack.org/142934
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=cad8def073222618857bebf9a18bb4d8dd098bfc
Submitter: Jenkins
Branch: master

commit cad8def073222618857bebf9a18bb4d8dd098bfc
Author: lin-hua-cheng <email address hidden>
Date: Thu Dec 18 15:31:05 2014 -0800

    Add call to KS V3 revoke_token on logout

    Change-Id: I6cf9c503e0ee32f71bb37ae5c3982315b8b7be3e
    Closes-Bug: #1331978

Changed in django-openstack-auth:
status: In Progress → Fix Committed
Matthias Runge (mrunge)
Changed in django-openstack-auth:
milestone: none → 1.1.9
David Lyle (david-lyle)
Changed in django-openstack-auth:
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.