horizon session timeout
Is there a way to disable horizon's session timeout completely? I'm running a dev/test openstack IceHouse on Ubuntu trusty 14.04 Thanks,
First time here? Check out the FAQ!
Is there a way to disable horizon's session timeout completely? I'm running a dev/test openstack IceHouse on Ubuntu trusty 14.04 Thanks,
There is no way to disable the timeout, which defaults to 30 minutes. However, you can increase the timeout to a much longer interval by adding
SESSION_TIMEOUT = desired number of seconds
to your local_settings.py and restarting apache.
Keystone will still have a default token expiration duration that may be encountered.
I have a similar issue. What is the default value for tokens? I see commented out "#expiration=3600" in my keystone.conf (so by default it's 1h) and I've already set SESSION_TIMEOUT in local_settings.py to same value, without success. It still expires in less than 10-15 mins.
For newer versions of Openstack: The command to restart keystone is:
service openstack-keystone restart
The command to restart apache is:
service httpd restart
Asked: 2014-06-13 19:53:13 -0600
Seen: 14,709 times
Last updated: Jun 13 '14
Add Magnum dashboard to current horizon dashboard
Best approach to have instance utilization monitoring?
The request you have made requires authentication. (HTTP 401)
Horizon dashboard is timing out way too fast.
can i only install openstack horizon and openstack cinder to automate my storage
500 internal server error : accessing Openstack DashBoard (icehouse)
RDO: Keystone dies after 1 - 3 days, can't login into horizon dashboard
Whats up with this did it work for someone ?
/T
I have tested this in Juno as follows:
Add the below line to /etc/openstack-dashboard/local_settings.py
SESSION_TIMEOUT = <timeout_in_seconds>
service apache2 restart
Add the below line to /etc/keystone/keystone.conf
expiration=<timeout_in_seconds>
service keystone restart