yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13241
[Bug 1258440] Re: environment variable DJANGO_SETTINGS_MODULE or call settings.configure() is undefined
*** This bug is a duplicate of bug 1257885 ***
https://bugs.launchpad.net/bugs/1257885
This is duplicated with bug 1257885 and bug 1257809.
** This bug has been marked a duplicate of bug 1257885
horizon does not work with django 1.6
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1258440
Title:
environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() is undefined
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Having installed openstack by Devstack,we can't login dashborad and
get an error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (Ubuntu) Server at 192.168.227.128 Port 80
Check the Horizon_error.log,we see(partial):
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128] File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 88, in connect
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128] if settings.DEBUG:
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128]File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128] self._setup(name)
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 47, in _setup
[Fri Dec 06 16:39:29 2013] [error] [client 192.168.227.128] % (desc, ENVIRONMENT_VARIABLE))
[Fri Dec 06 16:39:29 2013][error] [client 192.168.227.128] ImproperlyConfigured: Requested setting DEBUG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1258440/+subscriptions
References