[PKG-Openstack-devel] Bug#855576: 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

Thomas Goirand zigo at debian.org
Mon Feb 20 11:28:29 UTC 2017


On 02/20/2017 10:59 AM, Andreas Beckmann wrote:
> 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,
> 
>>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>
> [ ... ]
>     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

Hi,

I did a simple "apt-get install openstack-dashboard" (in non-interactive
mode for Debconf), and I couldn't reproduce this.

> This was observed while testing python-senlin-dashboard in
> experimental, where openstack-dashboard was pulled in as a dependency.

That probably is the issue, no? Have you tried installing the dashboard
alone?

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list