openstack_auth/models.py breaks with Django 1.11.6 but not 1.10.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Django 1.11.6 is distributed with Debian sid (2017-10-12) and 1.10.6 is distributed with current Debian stable (stretch).
Detailed error log is here:
Setting up python-
Setting up openstack-dashboard (3:10.0.1-1) ...
Traceback (most recent call last):
File "/usr/share/
execute_
File "/usr/lib/
utility.
File "/usr/lib/
django.setup()
File "/usr/lib/
apps.
File "/usr/lib/
app_
File "/usr/lib/
self.
File "/usr/lib/
__import_
File "/usr/lib/
from openstack_auth.user import User # noqa
File "/usr/lib/
from openstack_auth import utils
File "/usr/lib/
from django.contrib.auth import middleware
File "/usr/lib/
from django.
File "/usr/lib/
UserModel = get_user_model()
File "/usr/lib/
"AUTH_
django.
dpkg: error processing package openstack-dashboard (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openstack-
openstack-
Package openstack-dashboard is not configured yet.
dpkg: error processing package openstack-
dependency problems - leaving unconfigured
Errors were encountered while processing:
openstack-
openstack-
E: Sub-process /usr/bin/dpkg returned an error code (1)
This sounds like a dependency problem in packaging rather than a problem in horizon. Please work with the Debian packaging team on this (https:/ /wiki.openstack .org/wiki/ Packaging/ Debian). If this is identified to be a bug with horizon proper, then feel free to re-open the ticket and add details on how it can be reproduced. Thanks.