2018-04-17 05:11:23 |
Erik Olof Gunnar Andersson |
bug |
|
|
added bug |
2018-04-17 05:12:33 |
Erik Olof Gunnar Andersson |
description |
Starting with Django 1.9 and newer users are kicked out to the login screen after the web server is restarted. This is especially severe when running Horizon with a high number of processes.
However, if Horizon is running with Django 1.8.19 or older, Horizon can be restarted with little to no impact.
Reproduced in Devstack stable/queens using the following additional steps.
1) Configured Apache with 30 processes.
> WSGIDaemonProcess horizon user=stack group=stack processes=30 threads=1 home=/opt/stack/horizon display-name=%{GROUP}
2) Configure Horizon to use Memcached.
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
},
}
3) Log in to Horizon.
4) Restarted Apache.
5) Hit F5 and you will be kicked out to the login screen. Keep hitting F5 or clicking on pages and you will randomly be kicked out back to the login screen.
It will keep kicking you out until all processes has been used at least once. |
Starting with Django 1.9 users are kicked out to the login screen after the web server is restarted. This is especially severe when running Horizon with a high number of processes.
However, if Horizon is running with Django 1.8.19 or older, Horizon can be restarted with little to no impact.
Reproduced in Devstack stable/queens using the following additional steps.
1) Configured Apache with 30 processes.
> WSGIDaemonProcess horizon user=stack group=stack processes=30 threads=1 home=/opt/stack/horizon display-name=%{GROUP}
2) Configure Horizon to use Memcached.
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
},
}
3) Log in to Horizon.
4) Restarted Apache.
5) Hit F5 and you will be kicked out to the login screen. Keep hitting F5 or clicking on pages and you will randomly be kicked out back to the login screen.
It will keep kicking you out until all processes has been used at least once. |
|
2018-05-13 19:03:09 |
Ivan Kolodyazhny |
horizon: status |
New |
Confirmed |
|
2018-05-13 19:04:36 |
Ivan Kolodyazhny |
tags |
|
ux |
|
2018-11-01 02:43:47 |
OpenStack Infra |
horizon: status |
Confirmed |
In Progress |
|
2018-11-01 02:43:47 |
OpenStack Infra |
horizon: assignee |
|
Mathieu Gagné (mgagne) |
|
2018-11-01 04:58:24 |
OpenStack Infra |
horizon: assignee |
Mathieu Gagné (mgagne) |
Adrian Turjak (adriant-y) |
|
2018-11-04 18:43:15 |
Akihiro Motoki |
horizon: importance |
Undecided |
High |
|
2018-11-06 19:52:40 |
OpenStack Infra |
horizon: assignee |
Adrian Turjak (adriant-y) |
Akihiro Motoki (amotoki) |
|
2018-11-06 19:53:27 |
Akihiro Motoki |
tags |
ux |
queens-backport-potential rocky-backport-potential ux |
|
2018-11-06 19:54:20 |
Akihiro Motoki |
horizon: assignee |
Akihiro Motoki (amotoki) |
Adrian Turjak (adriant-y) |
|
2018-11-06 19:54:24 |
Akihiro Motoki |
horizon: milestone |
|
stein-2 |
|
2018-11-06 21:37:00 |
OpenStack Infra |
horizon: assignee |
Adrian Turjak (adriant-y) |
Akihiro Motoki (amotoki) |
|
2018-11-08 17:38:45 |
OpenStack Infra |
horizon: status |
In Progress |
Fix Released |
|
2018-11-23 06:59:27 |
OpenStack Infra |
tags |
queens-backport-potential rocky-backport-potential ux |
in-stable-rocky queens-backport-potential rocky-backport-potential ux |
|
2018-11-23 23:39:25 |
OpenStack Infra |
tags |
in-stable-rocky queens-backport-potential rocky-backport-potential ux |
in-stable-queens in-stable-rocky queens-backport-potential rocky-backport-potential ux |
|
2018-11-26 06:30:47 |
Christian Zunker |
bug |
|
|
added subscriber Christian Zunker |
2019-02-23 20:24:51 |
Akihiro Motoki |
tags |
in-stable-queens in-stable-rocky queens-backport-potential rocky-backport-potential ux |
in-stable-queens in-stable-rocky ux |
|