Horizon asks login/password twice after sign-off caused by session timeout

Bug #1353544 reported by Ilya Shakhat
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Low
MOS Horizon
5.0.x
Fix Committed
Low
MOS Horizon
5.1.x
Fix Committed
Low
MOS Horizon
6.0.x
Fix Committed
Low
MOS Horizon

Bug Description

{
    "build_id": "2014-05-27_05-51-41",
    "mirantis": "yes",
    "build_number": "26",
    "ostf_sha": "a8b7660082a6f152794c610d6abe30d360fd577d",
    "nailgun_sha": "bd09f89ef56176f64ad5decd4128933c96cb20f4",
    "production": "docker",
    "api": "1.0",
    "fuelmain_sha": "505741e4f431f85a8d0252fc42754d10c0326c1a",
    "astute_sha": "a7eac46348dc77fc2723c6fcc3dbc66cc1a83152",
    "release": "5.0",
    "fuellib_sha": "2f79c0415159651fc1978d99bd791079d1ae4a06"
}
Browser: Firefox 30 for Ubuntu

In Horizon session expires by timeout. When this happens Horizon forwards to Login screen. User enters login-password but horizon shows Login screen once again saying 'Session timed out' and user has to enter credentials one more time.

Ilya Shakhat (shakhat)
tags: added: horizon
Revision history for this message
Aleksandr Shaposhnikov (alashai8) wrote :

It definitely could be reproducible in MOS 5.0 because I seen this behavior each and every time when session expires.
Possible reasons could be: keystone with memcached or settings of HAproxy.

Changed in mos:
assignee: nobody → MOS Horizon (mos-horizon)
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

The bug already exists in upstream, https://bugs.launchpad.net/horizon/+bug/1308918, the fixes for horizon and django_openstack_auth are already uploaded and being reviewed.

Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 6.0
Changed in mos:
importance: Medium → Low
tags: added: release-notes
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Text suggested for release notes:

If both the keystone token and the Horizon session are expired, the user is asked to login
twice. This is because the token expiration is not checked when the user is logged-out
due to session expiration - so he logs in just to find that the token had also expired, and
needs to log in second time. This is a known issue, the corresponding patches are being
reviewed in upstream (https://review.openstack.org/#/c/88220/
https://review.openstack.org/#/c/101556/).

tags: added: docs
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package horizon has been built from changeset: https://review.fuel-infra.org/280
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package horizon has been built from changeset: https://review.fuel-infra.org/292
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package horizon has been built from changeset: https://review.fuel-infra.org/292
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package horizon has been built from changeset: https://review.fuel-infra.org/280
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0.3-stable/ubuntu

Revision history for this message
Max Yatsenko (myatsenko) wrote :

To apply this fix in branches 5.0.3 , 5.1.1 django-openstack-auth packet version 1.1.7 should be used.
In the following requests "django-openstack-auth" was upgraded upto 1.1.7 version:
ubuntu:
https://review.fuel-infra.org/#/c/298/
https://review.fuel-infra.org/#/c/300/

centos:
https://review.fuel-infra.org/#/c/296/
https://review.fuel-infra.org/#/c/299/

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package python-django-openstack-auth has been built for project packages/centos6/python-django-openstack-auth
Package version == 1.1.7, package release == 1

Changeset: https://review.fuel-infra.org/296
project: packages/centos6/python-django-openstack-auth
branch: 5.1.1
author: myatsenko
committer: myatsenko
subject: Update from version 1.1.3 to 1.1.7 Related-Bug:#1353544
status: patchset-created

Files placed on repository:
python-django-openstack-auth-1.1.7-1.mira1.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable-296/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package python-django-openstack-auth has been built for project packages/centos6/python-django-openstack-auth
Package version == 1.1.7, package release == 1

Changeset: https://review.fuel-infra.org/299
project: packages/centos6/python-django-openstack-auth
branch: 5.0.3
author: myatsenko
committer: myatsenko
subject: Update from version 1.1.3 to 1.1.7 Related-Bug:#1353544
status: patchset-created

Files placed on repository:
python-django-openstack-auth-1.1.7-1.mira1.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable-299/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package python-django-openstack-auth has been built for project packages/centos6/python-django-openstack-auth
Package version == 1.1.7, package release == 1

Changeset: https://review.fuel-infra.org/296
project: packages/centos6/python-django-openstack-auth
branch: 5.1.1
author: myatsenko
committer: myatsenko
subject: Update from version 1.1.3 to 1.1.7 Related-Bug:#1353544
status: change-merged

Files placed on repository:
python-django-openstack-auth-1.1.7-1.mira1.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package python-django-openstack-auth has been built for project packages/centos6/python-django-openstack-auth
Package version == 1.1.7, package release == 1

Changeset: https://review.fuel-infra.org/299
project: packages/centos6/python-django-openstack-auth
branch: 5.0.3
author: myatsenko
committer: myatsenko
subject: Update from version 1.1.3 to 1.1.7 Related-Bug:#1353544
status: change-merged

Files placed on repository:
python-django-openstack-auth-1.1.7-1.mira1.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3.mira5.git.5a0de81.f0e358f

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.0.3.mira5.git.5a0de81.f0e358f.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.0.3.mira5.git.5a0de81.f0e358f.noarch.rpm
python-django-horizon-2014.1.3-fuel5.0.3.mira5.git.5a0de81.f0e358f.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.0.3.mira5.git.5a0de81.f0e358f.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable-779/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1.mira6.git.fdc04e9.c9b0cb2

Changeset: https://review.fuel-infra.org/803
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.1.1.mira6.git.fdc04e9.c9b0cb2.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.1.1.mira6.git.fdc04e9.c9b0cb2.noarch.rpm
python-django-horizon-2014.1.3-fuel5.1.1.mira6.git.fdc04e9.c9b0cb2.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.1.1.mira6.git.fdc04e9.c9b0cb2.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable-803/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3~mira4+git.5a0de81.f0e358f

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.0.3~mira4+git.5a0de81.f0e358f_all.deb
openstack-dashboard_2014.1.3-fuel5.0.3~mira4+git.5a0de81.f0e358f_all.deb
python-django-horizon_2014.1.3-fuel5.0.3~mira4+git.5a0de81.f0e358f_all.deb
python-django-openstack_2014.1.3-fuel5.0.3~mira4+git.5a0de81.f0e358f_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0.3-stable-779/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1~mira4+git.fdc04e9.c9b0cb2

Changeset: https://review.fuel-infra.org/803
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.1.1~mira4+git.fdc04e9.c9b0cb2_all.deb
openstack-dashboard_2014.1.3-fuel5.1.1~mira4+git.fdc04e9.c9b0cb2_all.deb
python-django-horizon_2014.1.3-fuel5.1.1~mira4+git.fdc04e9.c9b0cb2_all.deb
python-django-openstack_2014.1.3-fuel5.1.1~mira4+git.fdc04e9.c9b0cb2_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable-803/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3.mira5.git.5a0de81.87d1298

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.0.3.mira5.git.5a0de81.87d1298.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.0.3.mira5.git.5a0de81.87d1298.noarch.rpm
python-django-horizon-2014.1.3-fuel5.0.3.mira5.git.5a0de81.87d1298.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.0.3.mira5.git.5a0de81.87d1298.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable-779/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3~mira4+git.5a0de81.87d1298

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.0.3~mira4+git.5a0de81.87d1298_all.deb
openstack-dashboard_2014.1.3-fuel5.0.3~mira4+git.5a0de81.87d1298_all.deb
python-django-horizon_2014.1.3-fuel5.0.3~mira4+git.5a0de81.87d1298_all.deb
python-django-openstack_2014.1.3-fuel5.0.3~mira4+git.5a0de81.87d1298_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0.3-stable-779/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1.mira6

Changeset: https://review.fuel-infra.org/803
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: change-merged

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.1.1.mira6.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.1.1.mira6.noarch.rpm
python-django-horizon-2014.1.3-fuel5.1.1.mira6.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.1.1.mira6.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3.mira5

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: change-merged

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.0.3.mira5.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.0.3.mira5.noarch.rpm
python-django-horizon-2014.1.3-fuel5.0.3.mira5.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.0.3.mira5.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.0.3~mira4

Changeset: https://review.fuel-infra.org/779
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.0.3~mira4_all.deb
openstack-dashboard_2014.1.3-fuel5.0.3~mira4_all.deb
python-django-horizon_2014.1.3-fuel5.0.3~mira4_all.deb
python-django-openstack_2014.1.3-fuel5.0.3~mira4_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0.3-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1~mira4

Changeset: https://review.fuel-infra.org/803
project: openstack-build/horizon-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: myatsenko
committer: myatsenko
subject: Update version of python-openstack-auth package upto 1.1.7 in deb,rpm specs. Related-Bug:#1353544
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.1.1~mira4_all.deb
openstack-dashboard_2014.1.3-fuel5.1.1~mira4_all.deb
python-django-horizon_2014.1.3-fuel5.1.1~mira4_all.deb
python-django-openstack_2014.1.3-fuel5.1.1~mira4_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1.mira7

Changeset: https://review.fuel-infra.org/5138
project: openstack/horizon
branch: openstack-ci/fuel-5.1.1-updates/2014.1.1
author: Alex Ermolov
committer: Alex Ermolov
subject: Fix web-server memory overrun when downloading objects from Swift
status: change-merged

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.1.1.mira7.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.1.1.mira7.noarch.rpm
python-django-horizon-2014.1.3-fuel5.1.1.mira7.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.1.1.mira7.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-updates-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.1~mira5

Changeset: https://review.fuel-infra.org/5138
project: openstack/horizon
branch: openstack-ci/fuel-5.1.1-updates/2014.1.1
author: Alex Ermolov
committer: Alex Ermolov
subject: Fix web-server memory overrun when downloading objects from Swift
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.1.1~mira5_all.deb
openstack-dashboard_2014.1.3-fuel5.1.1~mira5_all.deb
python-django-horizon_2014.1.3-fuel5.1.1~mira5_all.deb
python-django-openstack_2014.1.3-fuel5.1.1~mira5_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-updates-stable/ubuntu

Revision history for this message
Thiago Martins (martinx) wrote :

Still present on Kilo 2015.1.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.