← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1308918] Re: If both keystone token and session have timed out, a user is invited to login twice in a row

 

** Changed in: django-openstack-auth
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1308918

Title:
  If both keystone token and session have timed out, a user is invited
  to login twice in a row

Status in Django OpenStack Auth:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  If both the keyston token and the session expired, the user is asked to log in twice.
  This is because the session timestamp is written only if a user is logged authenticated.
  When a user has timed out both in session and keystone token validity, the user is asked to log in, then the timestamp is checked, and the user loged out again and asked to log in a second time.

  Steps to reproduce:
  ================
  - set in /etc/kestone/keystone.conf under the [token] section::

      expiration=10

  - set in openstack_dashboard/local/local_settings set::

      SESSION_TIMEOUT = 10

  - wait for both session and token to timeout (> 10 seconds :-) )

  You are asked to login twice in a row.

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1308918/+subscriptions


References