You have been subscribed to a public bug:
On install, if one tries to access openstack-dashboard, apache gives 500
and the problem is:
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] mod_wsgi (pid=25215):
Exception occurred processing WSGI script '/us
r/share/openstack-dashboard/dashboard/wsgi/django.wsgi'.
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] Traceback (most recent
call last):
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.p
y", line 250, in __call__
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14]
self.load_middleware()
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 45, in
load_middleware
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] mod =
import_module(mw_module)
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] __import__(name)
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/horizon/middleware.py", line 30, in <module>
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] from horizon
import api
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/horizon/api/__init__.py", line 39, in <module>
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] if
settings.QUANTUM_ENABLED:
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] File
"/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 277, in
__getattr__
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] return
getattr(self._wrapped, name)
[Mon Feb 06 07:12:24 2012] [error] [client 10.99.229.14] AttributeError:
'Settings' object has no attribute 'QUANTUM_ENABLED'
[Mon Feb 06 07:12:42 2012] [notice] caught SIGTERM, shutting down
This could be solved by creating a link from /usr/share/openstack-
dashboard/local/local_settings.py to /etc/openstack-
dashboard/local_settings.py:
ln -s /etc/openstack-dashboard/local_settings.py /usr/share/openstack-
dashboard/local/local_settings.py
IMHO, this should be manged by the package, not by the user.
** Affects: horizon (Ubuntu)
Importance: Undecided
Status: Confirmed
--
local_settings.py is in /etc, but wsgi is including it from other location
https://bugs.launchpad.net/bugs/927594
You received this bug notification because you are a member of Ubuntu Server
Team, which is subscribed to horizon in Ubuntu.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs