Ask Your Question
0

Horizon : error 500

asked 2014-04-03 06:23:24 -0500

Zike gravatar image

Hi everyone,

I am following the tutorial about the installation of Horizon. But I am facing a problem. Indeed, when I try to access the Horizon Dashboard (via 127.0.0.1/horizon or localhost/horizon), I have a http 500 error.

I have displayed my error.log from apache2. Here is its content :

   1326 [Thu Apr 03 13:06:22.530478 2014] [:error] [pid 2891] Warning: Could not import Horizon dependencies. This is normal during installation.
   1327 [Thu Apr 03 13:06:22.530605 2014] [:error] [pid 2891] [remote 127.0.0.1:24692] mod_wsgi (pid=2891): Exception occurred processing WSGI script '/usr/share/openst   1327 ack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
   1328 [Thu Apr 03 13:06:22.530629 2014] [:error] [pid 2891] [remote 127.0.0.1:24692] Traceback (most recent call last):
   1329 [Thu Apr 03 13:06:22.530666 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", lin   1329 e 187, in __call__
   1330 [Thu Apr 03 13:06:22.530744 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     self.load_middleware()
   1331 [Thu Apr 03 13:06:22.530757 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", lin   1331 e 46, in load_middleware
   1332 [Thu Apr 03 13:06:22.530838 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     for middleware_path in settings.MIDDLEWARE_CLASSES:
   1333 [Thu Apr 03 13:06:22.530849 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54,   1333  in __getattr__
   1334 [Thu Apr 03 13:06:22.530907 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     self._setup(name)
   1335 [Thu Apr 03 13:06:22.530916 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 49,   1335  in _setup
   1336 [Thu Apr 03 13:06:22.530929 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     self._wrapped = Settings(settings_module)
   1337 [Thu Apr 03 13:06:22.530937 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 128   1337 , in __init__
   1338 [Thu Apr 03 13:06:22.530948 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     mod = importlib.import_module(self.SETTINGS_MODULE)
   1339 [Thu Apr 03 13:06:22.530956 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 4   1339 0, in import_module
   1340 [Thu Apr 03 13:06:22.530989 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]     __import__(name)
   1341 [Thu Apr 03 13:06:22.530999 2014] [:error] [pid 2891] [remote 127.0.0.1:24692]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_d   1341 ashboard ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-03 09:35:33 -0500

jpichon gravatar image

What tutorial are you following? What version of Horizon is this? Note that Horizon is only compatible with Django 1.6 starting from Icehouse (not release yet). Havana is compatible with 1.4 and 1.5.

This bug report contains workarounds you might be interested in trying out: https://bugs.launchpad.net/horizon/+b...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-03 06:23:24 -0500

Seen: 506 times

Last updated: Apr 03 '14