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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to