Your message dated Tue, 4 Oct 2016 09:42:11 +0200
with message-id <a44835cd-66e9-d3d5-cf55-299a5fbe3...@debian.org>
and subject line Closing wrong bug
has caused the Debian Bug report #654654,
regarding openstack-dashboard: Can't find the settings.py file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
654654: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654654
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openstack-dashboard
Version: 2012.1~e2-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I can't initialise the DB, and so can't use the dashboard.
The defaut configuration set sqlite3 as database engine :
$ grep -ri ENGINE /etc/openstack-dashboard/settings.py
'ENGINE': 'django.db.backends.sqlite3',
And when I launch manager.py syncdb, It fails :
$ /usr/share/openstack-dashboard/dashboard/manage.py syncdb
ERROR:root:No module named local.local_settings
Traceback (most recent call last):
File "/usr/share/openstack-dashboard/dashboard/settings.py", line 126, in
<module>
from local.local_settings import *
ImportError: No module named local.local_settings
ERROR:root:No module named local.local_settings
Traceback (most recent call last):
File "/usr/share/openstack-dashboard/dashboard/../dashboard/settings.py",
line 126, in <module>
from local.local_settings import *
ImportError: No module named local.local_settings
Traceback (most recent call last):
File "/usr/share/openstack-dashboard/dashboard/manage.py", line 38, in
<module>
execute_manager(settings)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line
191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line
220, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line
351, in handle
return self.handle_noargs(**options)
File
"/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
line 56, in handle_noargs
cursor = connection.cursor()
File "/usr/lib/python2.7/dist-packages/django/db/backends/dummy/base.py",
line 15, in complain
raise ImproperlyConfigured("You haven't set the database ENGINE setting
yet.")
django.core.exceptions.ImproperlyConfigured: You haven't set the database
ENGINE setting yet.
I think it should find the config here :
$ ll /usr/share/openstack-dashboard/local/local_settings.py
lrwxrwxrwx 1 root root 36 déc. 19 09:44
/usr/share/openstack-dashboard/local/local_settings.py ->
/etc/openstack-dashboard/settings.py
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (600, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
This bug is antique, and isn't relevant anymore.
Cheers,
Thomas Goirand (zigo)
--- End Message ---