[PKG-Openstack-devel] Bug#855576: openstack-dashboard: fails to install: django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'openstack_auth.User' that has not been installed
Andreas Beckmann
anbe at debian.org
Mon Feb 20 09:59:50 UTC 2017
Package: openstack-dashboard
Version: 3:10.0.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + python-senlin-dashboard
Hi,
during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.
>From the attached log (scroll to the bottom...):
Setting up openstack-dashboard (3:10.0.0-1) ...
Traceback (most recent call last):
File "/usr/share/openstack-dashboard/manage.py", line 25, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 366, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 340, in execute
django.setup()
File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
app_config.import_models()
File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/openstack_auth/models.py", line 15, in <module>
from openstack_auth.user import User # noqa
File "/usr/lib/python2.7/dist-packages/openstack_auth/user.py", line 26, in <module>
from openstack_auth import utils
File "/usr/lib/python2.7/dist-packages/openstack_auth/utils.py", line 20, in <module>
from django.contrib.auth import middleware
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/middleware.py", line 4, in <module>
from django.contrib.auth.backends import RemoteUserBackend
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/backends.py", line 6, in <module>
UserModel = get_user_model()
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 180, in get_user_model
"AUTH_USER_MODEL refers to model '%s' that has not been installed" % settings.AUTH_USER_MODEL
django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'openstack_auth.User' that has not been installed
dpkg: error processing package openstack-dashboard (--configure):
subprocess installed post-installation script returned error exit status 1
This was observed while testing python-senlin-dashboard in
experimental, where openstack-dashboard was pulled in as a dependency.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-senlin-dashboard_0.4.0-1.log.gz
Type: application/gzip
Size: 34209 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20170220/4c26233b/attachment-0001.bin>
More information about the Openstack-devel
mailing list