[SRU] Update of dashboard fails on Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Released
|
Critical
|
Unassigned | ||
horizon (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Unassigned |
Bug Description
[Impact]
NOTE: this bug is limited to the proposed pockets of xenial and trusty-mitaka (UCA).
I am currently trying to update the horizon dashboard on Ubuntu 16.04 running OpenStack Mitaka using the new versions coming in from the package repository.
aptitude update && aptitude safe-upgrade
Get: 1 http://
Hit http://
Hit http://
Hit http://
Get: 2 http://
Get: 3 http://
Get: 4 http://
Hit http://
Hit http://
Get: 5 http://
Get: 6 http://
Get: 7 http://
Get: 8 http://
Fetched 1,141 kB in 1s (1,011 kB/s)
W: http://
Resolving dependencies...
The following packages will be upgraded:
base-files linux-firmware lshw openstack-dashboard openstack-
python-
8 packages upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 41.8 MB of archives. After unpacking 539 kB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://
Get: 2 http://
Get: 3 http://
Get: 4 http://
Get: 5 http://
Get: 6 http://
Get: 7 http://
Get: 8 http://
Fetched 41.8 MB in 0s (42.3 MB/s)
(Reading database ... 140753 files and directories currently installed.)
Preparing to unpack .../base-
Unpacking base-files (9.4ubuntu4.1) over (9.4ubuntu4) ...
Processing triggers for plymouth-
update-initramfs: deferring update (trigger activated)
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.
W: mdadm: /etc/mdadm/
Setting up base-files (9.4ubuntu4.1) ...
Installing new version of config file /etc/update-
(Reading database ... 140753 files and directories currently installed.)
Preparing to unpack .../openstack-
Unpacking openstack-
Preparing to unpack .../python-
Unpacking python-glanceclient (1:2.0.
Preparing to unpack .../python-
Unpacking python-
Preparing to unpack .../openstack-
Unpacking openstack-dashboard (2:9.0.1-0ubuntu1) over (2:9.0.
Preparing to unpack .../python-
Unpacking python-
Preparing to unpack .../lshw_
Unpacking lshw (02.17-
Preparing to unpack .../linux-
Unpacking linux-firmware (1.157.1) over (1.157) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-glanceclient (1:2.0.
Setting up python-
Setting up python-
Setting up openstack-dashboard (2:9.0.1-0ubuntu1) ...
Collecting and compressing static assets...
Traceback (most recent call last):
File "manage.py", line 25, in <module>
execute_
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
self.
File "/usr/lib/
paths.
File "/usr/lib/
paths.
File "/usr/share/
'templates'
File "/usr/lib/
'component ({})'.format(
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
Setting up lshw (02.17-
Setting up linux-firmware (1.157.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
openstack-
openstack-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up openstack-dashboard (2:9.0.1-0ubuntu1) ...
Collecting and compressing static assets...
Traceback (most recent call last):
File "manage.py", line 25, in <module>
execute_
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
self.
File "/usr/lib/
paths.
File "/usr/lib/
paths.
File "/usr/share/
'templates'
File "/usr/lib/
'component ({})'.format(
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-
Any ideas what is going on and how the problem can be fixed?
[Test Case]
Install openstack-dashboard 2:9.0.1-0ubuntu1 from xenial-proposed.
[Regression Potential]
There should be very little regression potential. The package already defined a symlink from /usr/share/
affects: | openstack-dashboard (Ubuntu) → horizon (Ubuntu) |
Changed in horizon (Ubuntu Xenial): | |
status: | Triaged → Fix Committed |
This is not a horizon bug itself. this is a distribution issue.