Openstack Dashboard gets 500 Internal Server Error [closed]

asked 2015-04-28 11:41:12 -0500

Mike Parson gravatar image

Following the Juno/Ubuntu install docs on http://docs.openstack.org.

Everything up till this point is functional.

When I try and hit the http://controller/horizon URL, I get an ISE/500 error from Apache.

The relevant bits from the apache error_log:

mod_wsgi (pid=1864): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
    self.load_middleware()
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 44, in load_middleware
    for middleware_path in settings.MIDDLEWARE_CLASSES:
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 128, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 233, in <module>
    ], HORIZON_CONFIG, INSTALLED_APPS)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/utils/settings.py", line 101, in update_dashboards
    horizon_config['default_dashboard'] = dashboard
TypeError: 'bool' object does not support item assignment

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by omar-munoz
close date 2015-04-30 16:03:57.125370