Session timeout doesn't always honor LOGIN_URL (Ubuntu 12.04 precise-proposed/havana)

Bug #1245257 reported by Kevin Jackson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned
horizon (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 12.04 with Havana (precise-updates and precise-proposed):

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/havana main
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-proposed/havana main

ii openstack-dashboard 1:2013.2~rc3-0ubuntu1~cloud0 django web interface to Openstack

On a few occasions (I've seen this working intermittently) when I've left my Horizon session and returned, the URI it returns to doesn't honor LOGIN_URL - so I get 404s instead of seeing the login screen - and this is the URL I get:

http://172.16.0.200/auth/logout/?next=/horizon/project/instances/

when my settings are (unchanged from an out of the box Ubuntu install):

# Default Ubuntu apache configuration uses /horizon as the application root.
# Configure auth redirects here accordingly.
LOGIN_URL='/horizon/auth/login/'
LOGIN_REDIRECT_URL='/horizon'

Logs showing 404:

172.16.0.1 - - [27/Oct/2013:17:59:56 +0000] "GET /horizon/i18n/js/horizon/ HTTP/1.1" 200 3981 "http://172.16.0.200/horizon/project/instances/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"
172.16.0.1 - - [27/Oct/2013:18:58:53 +0000] "GET /horizon/project/instances/ HTTP/1.1" 302 1975 "http://172.16.0.200/horizon/project/instances/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"
172.16.0.1 - - [27/Oct/2013:18:58:53 +0000] "GET /auth/logout/?next=/horizon/project/instances/ HTTP/1.1" 404 501 "http://172.16.0.200/horizon/project/instances/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"

Revision history for this message
Julie Pichon (jpichon) wrote :

Looks like a duplicate of bug 1243187 for the Ubuntu package.

Changed in horizon:
status: New → Invalid
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.