[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
** Branch linked: lp:ubuntu/trusty-proposed/horizon -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
This bug was fixed in the package horizon - 1:2014.1~b3-0ubuntu2 --- horizon (1:2014.1~b3-0ubuntu2) trusty; urgency=medium * Ensure correct URL is used for logout/timeout (LP: #1243187): - d/p/ubuntu_settings.patch: Update LOGOUT_URL for /horizon prefix. * Ensure Apache configuration is backwards compatible with Apache 2.2 (LP: #1292577): - d/openstack-dashboard.conf: Revert changes from 1:2014.1~b2-0ubuntu2. -- James Page james.p...@ubuntu.com Fri, 14 Mar 2014 16:21:00 + ** Changed in: horizon (Ubuntu Trusty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
** Also affects: horizon (Ubuntu Trusty) Importance: Undecided Status: Confirmed ** Changed in: horizon (Ubuntu Trusty) Assignee: (unassigned) = James Page (james-page) ** Changed in: horizon (Ubuntu Trusty) Importance: Undecided = High ** Changed in: horizon (Ubuntu Trusty) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
** Branch linked: lp:~ubuntu-server-dev/horizon/icehouse -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
So this is a real bug right, and not just a missing config? I think Daniel's comment, while a solid attempt at resolving the problem, makes this a bit unclear. I have the config set, and I still have the exact problem described in the bug report. /etc/openstack-dashboard/local_settings.py LOGIN_URL='/horizon/auth/login/' LOGIN_REDIRECT_URL='/horizon' Still, when my sessions time out, the browser attempts to go to: http://myurl.com/auth/logout/?next=/horizon/project/ Instead of: http://myurl.com/horizon/auth/logout/?next=/horizon/project/ Thanks!! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
Okay, I think I got this fixed. Maybe this is what Daniel meant to type. I made the following modification and now the timeout redirect appears to work as it should. /etc/openstack-dashboard/local_settings.py LOGOUT_URL='/horizon/auth/logout/' -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
Thanks Kymil-arcadia for pointing out my mistake - reading my own comment again I can't figure out the sense of my solution. So here is the full story: By default, /etc/openstack-dashboard/local_settings.py has the following lines: LOGIN_URL='/horizon/auth/login/' LOGIN_REDIRECT_URL='/horizon/' It is necessary to change them to: LOGIN_URL='/horizon/auth/login/' LOGOUT_URL='/horizon/auth/logout/' LOGIN_REDIRECT_URL='/horizon/' Adding that one extra LOGOUT_URL that you also mentioned. Without that line, Horizon doesn't add the /horizon/ part of the URL, which is required. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
** Changed in: horizon (Ubuntu) Assignee: Anuj Deshpande (anujdeshpande92) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
** Changed in: horizon (Ubuntu) Assignee: (unassigned) = Anuj Deshpande (anujdeshpande92) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: horizon (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1243187] Re: Horizon drops path when redirecting to login page after session expires
The issue can be fixed by adding: LOGIN_REDIRECT_URL='/horizon/' to /etc/openstack-dashboard/local_settings.py ** Also affects: horizon (Ubuntu) Importance: Undecided Status: New ** No longer affects: horizon -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1243187 Title: Horizon drops path when redirecting to login page after session expires To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs