Back to bug 1040688

Who When What Removed Added
RHEL Program Management 2013-12-12 17:36:18 UTC Target Release --- 5.0
Matthias Runge 2013-12-16 07:46:26 UTC Status NEW MODIFIED
Target Release 5.0 4.0
Assignee rhos-maint mrunge
Doc Text Cause:
During upgrades, visiting the dashboard may fail due a missing ALLOWED_HOSTS setting.

Consequence:
Opening the dashboard will show a server error (500)

Fix:
edit /etc/openstack-dashboard/local_settings and set
ALLOWED_HOSTS = ['127.0.0.1','<fqdn>']

where <fqdn> is the full qualified domain name of your Horizon host.

During an upgrade, it may also be necessary to
# chown apache:apache /var/lib/openstack-dashboard/.secret_key_store

Result:
Horizon works as expeced.
Scott Lewis 2013-12-16 18:36:35 UTC Target Milestone --- rc
Matthias Runge 2013-12-16 18:54:19 UTC Status MODIFIED NEW
Component python-django-horizon doc-Deployment_Guide
QA Contact ajeain ecs-bugs
Doc Type Bug Fix Known Issue
Red Hat Bugzilla 2013-12-16 18:54:19 UTC Doc Type Known Issue Bug Fix
Matthias Runge 2013-12-16 18:55:07 UTC Doc Type Bug Fix Enhancement
Red Hat Bugzilla 2013-12-16 18:55:07 UTC Doc Type Enhancement Bug Fix
RHEL Program Management 2013-12-16 19:11:00 UTC Keywords Documentation
Summer Long 2014-01-06 04:42:11 UTC CC breeler, slong
Component doc-Deployment_Guide doc-Release_Notes
Target Milestone rc async
Summer Long 2014-01-07 05:21:47 UTC Blocks 1049118
John Skeoch 2014-01-13 01:09:05 UTC CC hateya
Summer Long 2014-01-20 23:49:54 UTC Status NEW ASSIGNED
Assignee mrunge breeler
Summer Long 2014-01-20 23:51:11 UTC Blocks 1049118
Bruce Reeler 2014-03-10 05:58:24 UTC Keywords Triaged
Priority unspecified medium
Assignee breeler ddomingo
Summary upgrading from 3 to 4 breaks horizon [Doc] Upgrading from 3 to 4 breaks horizon
Don Domingo 2014-03-10 06:10:21 UTC Whiteboard docs-rhos5-relnotes
Don Domingo 2014-07-09 00:46:13 UTC Doc Text Cause:
During upgrades, visiting the dashboard may fail due a missing ALLOWED_HOSTS setting.

Consequence:
Opening the dashboard will show a server error (500)

Fix:
edit /etc/openstack-dashboard/local_settings and set
ALLOWED_HOSTS = ['127.0.0.1','<fqdn>']

where <fqdn> is the full qualified domain name of your Horizon host.

During an upgrade, it may also be necessary to
# chown apache:apache /var/lib/openstack-dashboard/.secret_key_store

Result:
Horizon works as expeced.
After upgrading to Red Hat Enterprise Linux 4, attempting to open the dashboard may fail with a '500 Internal Server Error'. This is caused by an incomplete ALLOWED_HOST setting.

If this occurs, you will need to:

1. Add the fully-qualified domain name of your dashboard host to the ALLOWED_HOSTS parameter of the /etc/openstack-dashboard/local_settings file.
2. Change the owner and group of the var/lib/openstack-dashboard/.secret_key_store file to 'apache':
# chown apache:apache /var/lib/openstack-dashboard/.secret_key_store
Doc Type Bug Fix Known Issue
Flags needinfo?(mrunge)
Don Domingo 2014-07-09 03:14:35 UTC Flags needinfo?(mrunge) needinfo+
Don Domingo 2014-07-09 03:17:44 UTC Flags needinfo+ needinfo?(mrunge)
Don Domingo 2014-07-09 03:33:38 UTC Status ASSIGNED CLOSED
Resolution --- DUPLICATE
Flags needinfo?(mrunge)
Last Closed 2014-07-08 23:33:38 UTC
John Skeoch 2015-02-17 01:01:09 UTC CC benglish

Back to bug 1040688