Activity log for bug #1594249

Date Who What changed Old value New value Message
2016-06-20 05:13:20 Christoph Fiehe bug added bug
2016-06-20 09:08:34 Matthias Runge horizon: status New Invalid
2016-06-20 09:10:01 Matthias Runge bug task added cloud-archive
2016-06-20 09:10:12 Matthias Runge bug task deleted horizon
2016-06-21 14:23:54 Corey Bryant cloud-archive: status New Triaged
2016-06-21 14:23:55 Corey Bryant cloud-archive: importance Undecided Critical
2016-06-21 19:29:02 Corey Bryant summary Update of dashboard fails on Xenial [SRU] Update of dashboard fails on Xenial
2016-06-21 19:29:07 Corey Bryant bug added subscriber Ubuntu Stable Release Updates Team
2016-06-21 19:34:11 Corey Bryant description 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://archive.ubuntu.com/ubuntu xenial-proposed InRelease [247 kB] Hit http://mirror2.hs-esslingen.de/mariadb/repo/10.1/ubuntu xenial InRelease Hit http://de.archive.ubuntu.com/ubuntu xenial InRelease Hit http://ppa.launchpad.net/vbernat/haproxy-1.6/ubuntu xenial InRelease Get: 2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] Get: 3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] Get: 4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit http://download.ceph.com/debian-jewel xenial InRelease Hit http://www.rabbitmq.com/debian testing InRelease Get: 5 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Get: 6 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB] Get: 7 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [96.7 kB] Get: 8 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [93.9 kB] Fetched 1,141 kB in 1s (1,011 kB/s) W: http://download.ceph.com/debian-jewel/dists/xenial/InRelease: Signature by key 08B73419AC32B4E966C1A330E84AC2C0460F3994 uses weak dige st algorithm (SHA1) Resolving dependencies... The following packages will be upgraded: base-files linux-firmware lshw openstack-dashboard openstack-dashboard-ubuntu-theme python-django-horizon python-glanceclient python-oslo.concurrency 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://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 base-files amd64 9.4ubuntu4.1 [68.4 kB] Get: 2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard-ubuntu-theme all 2:9.0.1-0ubuntu1 [79.5 kB] Get: 3 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-glanceclient all 1:2.0.0-2ubuntu0.16.04.1 [92.1 kB] Get: 4 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-oslo.concurrency all 3.7.1-0ubuntu1 [24.5 kB] Get: 5 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard all 2:9.0.1-0ubuntu1 [2,442 kB] Get: 6 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-django-horizon all 2:9.0.1-0ubuntu1 [6,272 kB] Get: 7 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 lshw amd64 02.17-1.1ubuntu3.2 [215 kB] Get: 8 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 linux-firmware all 1.157.1 [32.6 MB] Fetched 41.8 MB in 0s (42.3 MB/s) (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../base-files_9.4ubuntu4.1_amd64.deb ... Unpacking base-files (9.4ubuntu4.1) over (9.4ubuntu4) ... Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ... 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.img-4.4.0-25-generic W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Setting up base-files (9.4ubuntu4.1) ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../openstack-dashboard-ubuntu-theme_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard-ubuntu-theme (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-glanceclient_1%3a2.0.0-2ubuntu0.16.04.1_all.deb ... Unpacking python-glanceclient (1:2.0.0-2ubuntu0.16.04.1) over (1:2.0.0-2) ... Preparing to unpack .../python-oslo.concurrency_3.7.1-0ubuntu1_all.deb ... Unpacking python-oslo.concurrency (3.7.1-0ubuntu1) over (3.7.0-2) ... Preparing to unpack .../openstack-dashboard_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-django-horizon_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking python-django-horizon (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../lshw_02.17-1.1ubuntu3.2_amd64.deb ... Unpacking lshw (02.17-1.1ubuntu3.2) over (02.17-1.1ubuntu3.1) ... Preparing to unpack .../linux-firmware_1.157.1_all.deb ... 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.0-2ubuntu0.16.04.1) ... Setting up python-oslo.concurrency (3.7.1-0ubuntu1) ... Setting up python-django-horizon (2:9.0.1-0ubuntu1) ... 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_from_command_line(sys.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle self.compress(sys.stdout, **options) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress paths.update(str(origin) for origin in get_template_sources('')) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr> paths.update(str(origin) for origin in get_template_sources('')) File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources 'templates' File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join 'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme: openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however: Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure): dependency problems - leaving unconfigured Setting up lshw (02.17-1.1ubuntu3.2) ... Setting up linux-firmware (1.157.1) ... No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: openstack-dashboard openstack-dashboard-ubuntu-theme 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_from_command_line(sys.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle self.compress(sys.stdout, **options) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress paths.update(str(origin) for origin in get_template_sources('')) File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr> paths.update(str(origin) for origin in get_template_sources('')) File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources 'templates' File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join 'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme: openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however: Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: openstack-dashboard openstack-dashboard-ubuntu-theme Any ideas what is going on and how the problem can be fixed? [Impact] NOTE: this only affects the 9.0.1 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://archive.ubuntu.com/ubuntu xenial-proposed InRelease [247 kB] Hit http://mirror2.hs-esslingen.de/mariadb/repo/10.1/ubuntu xenial InRelease Hit http://de.archive.ubuntu.com/ubuntu xenial InRelease Hit http://ppa.launchpad.net/vbernat/haproxy-1.6/ubuntu xenial InRelease Get: 2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] Get: 3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] Get: 4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit http://download.ceph.com/debian-jewel xenial InRelease Hit http://www.rabbitmq.com/debian testing InRelease Get: 5 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Get: 6 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB] Get: 7 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [96.7 kB] Get: 8 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [93.9 kB] Fetched 1,141 kB in 1s (1,011 kB/s) W: http://download.ceph.com/debian-jewel/dists/xenial/InRelease: Signature by key 08B73419AC32B4E966C1A330E84AC2C0460F3994 uses weak dige st algorithm (SHA1) Resolving dependencies... The following packages will be upgraded:   base-files linux-firmware lshw openstack-dashboard openstack-dashboard-ubuntu-theme python-django-horizon python-glanceclient   python-oslo.concurrency 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://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 base-files amd64 9.4ubuntu4.1 [68.4 kB] Get: 2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard-ubuntu-theme all 2:9.0.1-0ubuntu1 [79.5 kB] Get: 3 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-glanceclient all 1:2.0.0-2ubuntu0.16.04.1 [92.1 kB] Get: 4 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-oslo.concurrency all 3.7.1-0ubuntu1 [24.5 kB] Get: 5 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard all 2:9.0.1-0ubuntu1 [2,442 kB] Get: 6 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-django-horizon all 2:9.0.1-0ubuntu1 [6,272 kB] Get: 7 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 lshw amd64 02.17-1.1ubuntu3.2 [215 kB] Get: 8 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 linux-firmware all 1.157.1 [32.6 MB] Fetched 41.8 MB in 0s (42.3 MB/s) (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../base-files_9.4ubuntu4.1_amd64.deb ... Unpacking base-files (9.4ubuntu4.1) over (9.4ubuntu4) ... Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ... 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.img-4.4.0-25-generic W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Setting up base-files (9.4ubuntu4.1) ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../openstack-dashboard-ubuntu-theme_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard-ubuntu-theme (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-glanceclient_1%3a2.0.0-2ubuntu0.16.04.1_all.deb ... Unpacking python-glanceclient (1:2.0.0-2ubuntu0.16.04.1) over (1:2.0.0-2) ... Preparing to unpack .../python-oslo.concurrency_3.7.1-0ubuntu1_all.deb ... Unpacking python-oslo.concurrency (3.7.1-0ubuntu1) over (3.7.0-2) ... Preparing to unpack .../openstack-dashboard_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-django-horizon_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking python-django-horizon (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../lshw_02.17-1.1ubuntu3.2_amd64.deb ... Unpacking lshw (02.17-1.1ubuntu3.2) over (02.17-1.1ubuntu3.1) ... Preparing to unpack .../linux-firmware_1.157.1_all.deb ... 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.0-2ubuntu0.16.04.1) ... Setting up python-oslo.concurrency (3.7.1-0ubuntu1) ... Setting up python-django-horizon (2:9.0.1-0ubuntu1) ... 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Setting up lshw (02.17-1.1ubuntu3.2) ... Setting up linux-firmware (1.157.1) ... No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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/openstack-dashboard/openstack_dashboard/static/themes/ubuntu to /usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu. The fix uses the symlink to avoid the error reported in this bug. I've deployed openstack with this fix and navigated around the dashboard and the ubuntu theme looks fine.
2016-06-21 19:35:42 Corey Bryant description [Impact] NOTE: this only affects the 9.0.1 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://archive.ubuntu.com/ubuntu xenial-proposed InRelease [247 kB] Hit http://mirror2.hs-esslingen.de/mariadb/repo/10.1/ubuntu xenial InRelease Hit http://de.archive.ubuntu.com/ubuntu xenial InRelease Hit http://ppa.launchpad.net/vbernat/haproxy-1.6/ubuntu xenial InRelease Get: 2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] Get: 3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] Get: 4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit http://download.ceph.com/debian-jewel xenial InRelease Hit http://www.rabbitmq.com/debian testing InRelease Get: 5 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Get: 6 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB] Get: 7 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [96.7 kB] Get: 8 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [93.9 kB] Fetched 1,141 kB in 1s (1,011 kB/s) W: http://download.ceph.com/debian-jewel/dists/xenial/InRelease: Signature by key 08B73419AC32B4E966C1A330E84AC2C0460F3994 uses weak dige st algorithm (SHA1) Resolving dependencies... The following packages will be upgraded:   base-files linux-firmware lshw openstack-dashboard openstack-dashboard-ubuntu-theme python-django-horizon python-glanceclient   python-oslo.concurrency 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://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 base-files amd64 9.4ubuntu4.1 [68.4 kB] Get: 2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard-ubuntu-theme all 2:9.0.1-0ubuntu1 [79.5 kB] Get: 3 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-glanceclient all 1:2.0.0-2ubuntu0.16.04.1 [92.1 kB] Get: 4 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-oslo.concurrency all 3.7.1-0ubuntu1 [24.5 kB] Get: 5 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard all 2:9.0.1-0ubuntu1 [2,442 kB] Get: 6 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-django-horizon all 2:9.0.1-0ubuntu1 [6,272 kB] Get: 7 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 lshw amd64 02.17-1.1ubuntu3.2 [215 kB] Get: 8 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 linux-firmware all 1.157.1 [32.6 MB] Fetched 41.8 MB in 0s (42.3 MB/s) (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../base-files_9.4ubuntu4.1_amd64.deb ... Unpacking base-files (9.4ubuntu4.1) over (9.4ubuntu4) ... Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ... 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.img-4.4.0-25-generic W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Setting up base-files (9.4ubuntu4.1) ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../openstack-dashboard-ubuntu-theme_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard-ubuntu-theme (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-glanceclient_1%3a2.0.0-2ubuntu0.16.04.1_all.deb ... Unpacking python-glanceclient (1:2.0.0-2ubuntu0.16.04.1) over (1:2.0.0-2) ... Preparing to unpack .../python-oslo.concurrency_3.7.1-0ubuntu1_all.deb ... Unpacking python-oslo.concurrency (3.7.1-0ubuntu1) over (3.7.0-2) ... Preparing to unpack .../openstack-dashboard_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-django-horizon_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking python-django-horizon (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../lshw_02.17-1.1ubuntu3.2_amd64.deb ... Unpacking lshw (02.17-1.1ubuntu3.2) over (02.17-1.1ubuntu3.1) ... Preparing to unpack .../linux-firmware_1.157.1_all.deb ... 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.0-2ubuntu0.16.04.1) ... Setting up python-oslo.concurrency (3.7.1-0ubuntu1) ... Setting up python-django-horizon (2:9.0.1-0ubuntu1) ... 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Setting up lshw (02.17-1.1ubuntu3.2) ... Setting up linux-firmware (1.157.1) ... No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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/openstack-dashboard/openstack_dashboard/static/themes/ubuntu to /usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu. The fix uses the symlink to avoid the error reported in this bug. I've deployed openstack with this fix and navigated around the dashboard and the ubuntu theme looks fine. [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://archive.ubuntu.com/ubuntu xenial-proposed InRelease [247 kB] Hit http://mirror2.hs-esslingen.de/mariadb/repo/10.1/ubuntu xenial InRelease Hit http://de.archive.ubuntu.com/ubuntu xenial InRelease Hit http://ppa.launchpad.net/vbernat/haproxy-1.6/ubuntu xenial InRelease Get: 2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] Get: 3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] Get: 4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit http://download.ceph.com/debian-jewel xenial InRelease Hit http://www.rabbitmq.com/debian testing InRelease Get: 5 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Get: 6 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB] Get: 7 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [96.7 kB] Get: 8 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [93.9 kB] Fetched 1,141 kB in 1s (1,011 kB/s) W: http://download.ceph.com/debian-jewel/dists/xenial/InRelease: Signature by key 08B73419AC32B4E966C1A330E84AC2C0460F3994 uses weak dige st algorithm (SHA1) Resolving dependencies... The following packages will be upgraded:   base-files linux-firmware lshw openstack-dashboard openstack-dashboard-ubuntu-theme python-django-horizon python-glanceclient   python-oslo.concurrency 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://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 base-files amd64 9.4ubuntu4.1 [68.4 kB] Get: 2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard-ubuntu-theme all 2:9.0.1-0ubuntu1 [79.5 kB] Get: 3 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-glanceclient all 1:2.0.0-2ubuntu0.16.04.1 [92.1 kB] Get: 4 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-oslo.concurrency all 3.7.1-0ubuntu1 [24.5 kB] Get: 5 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 openstack-dashboard all 2:9.0.1-0ubuntu1 [2,442 kB] Get: 6 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 python-django-horizon all 2:9.0.1-0ubuntu1 [6,272 kB] Get: 7 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 lshw amd64 02.17-1.1ubuntu3.2 [215 kB] Get: 8 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 linux-firmware all 1.157.1 [32.6 MB] Fetched 41.8 MB in 0s (42.3 MB/s) (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../base-files_9.4ubuntu4.1_amd64.deb ... Unpacking base-files (9.4ubuntu4.1) over (9.4ubuntu4) ... Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ... 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.img-4.4.0-25-generic W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Setting up base-files (9.4ubuntu4.1) ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 140753 files and directories currently installed.) Preparing to unpack .../openstack-dashboard-ubuntu-theme_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard-ubuntu-theme (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-glanceclient_1%3a2.0.0-2ubuntu0.16.04.1_all.deb ... Unpacking python-glanceclient (1:2.0.0-2ubuntu0.16.04.1) over (1:2.0.0-2) ... Preparing to unpack .../python-oslo.concurrency_3.7.1-0ubuntu1_all.deb ... Unpacking python-oslo.concurrency (3.7.1-0ubuntu1) over (3.7.0-2) ... Preparing to unpack .../openstack-dashboard_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking openstack-dashboard (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../python-django-horizon_2%3a9.0.1-0ubuntu1_all.deb ... Unpacking python-django-horizon (2:9.0.1-0ubuntu1) over (2:9.0.0-0ubuntu2.16.04.1) ... Preparing to unpack .../lshw_02.17-1.1ubuntu3.2_amd64.deb ... Unpacking lshw (02.17-1.1ubuntu3.2) over (02.17-1.1ubuntu3.1) ... Preparing to unpack .../linux-firmware_1.157.1_all.deb ... 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.0-2ubuntu0.16.04.1) ... Setting up python-oslo.concurrency (3.7.1-0ubuntu1) ... Setting up python-django-horizon (2:9.0.1-0ubuntu1) ... 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Setting up lshw (02.17-1.1ubuntu3.2) ... Setting up linux-firmware (1.157.1) ... No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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_from_command_line(sys.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line     utility.execute()   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv     self.execute(*args, **cmd_options)   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute     output = self.handle(*args, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle     self.compress(sys.stdout, **options)   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in compress     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 124, in <genexpr>     paths.update(str(origin) for origin in get_template_sources(''))   File "/usr/share/openstack-dashboard/horizon/themes.py", line 140, in get_template_sources     'templates'   File "/usr/lib/python2.7/dist-packages/django/utils/_os.py", line 85, in safe_join     'component ({})'.format(final_path, base_path)) django.core.exceptions.SuspiciousFileOperation: The joined path (/usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu/templates) is located outside of the base path component (/usr/share/openstack-dashboard/openstack_dashboard) dpkg: error processing package openstack-dashboard (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:  openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 2:9.0.1-0ubuntu1); however:   Package openstack-dashboard is not configured yet. dpkg: error processing package openstack-dashboard-ubuntu-theme (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  openstack-dashboard  openstack-dashboard-ubuntu-theme 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/openstack-dashboard/openstack_dashboard/static/themes/ubuntu to /usr/share/openstack-dashboard-ubuntu-theme/static/themes/ubuntu. The fix uses the symlink to avoid the error reported in this bug. I've deployed openstack with this fix and navigated around the dashboard and the ubuntu theme looks fine.
2016-06-21 19:35:50 Corey Bryant nominated for series cloud-archive/mitaka
2016-06-21 19:35:50 Corey Bryant bug task added cloud-archive/mitaka
2016-06-21 19:36:12 Corey Bryant bug task added openstack-dashboard (Ubuntu)
2016-06-21 19:36:21 Corey Bryant nominated for series Ubuntu Xenial
2016-06-21 19:36:21 Corey Bryant bug task added openstack-dashboard (Ubuntu Xenial)
2016-06-21 19:36:40 Corey Bryant openstack-dashboard (Ubuntu): status New Invalid
2016-06-21 19:36:48 Corey Bryant cloud-archive: status Triaged Invalid
2016-06-21 19:36:52 Corey Bryant cloud-archive/mitaka: importance Undecided Critical
2016-06-21 19:36:53 Corey Bryant openstack-dashboard (Ubuntu Xenial): importance Undecided Critical
2016-06-21 19:36:57 Corey Bryant cloud-archive: importance Critical Undecided
2016-06-21 19:37:00 Corey Bryant cloud-archive/mitaka: status New Triaged
2016-06-21 19:37:02 Corey Bryant openstack-dashboard (Ubuntu Xenial): status New Triaged
2016-06-22 19:53:30 Michael Rowland Hunter bug added subscriber Michael Rowland Hunter
2016-06-23 19:03:01 Brian Murray bug added subscriber SRU Verification
2016-06-23 19:03:05 Brian Murray tags verification-needed
2016-06-23 19:09:51 Brian Murray affects openstack-dashboard (Ubuntu) horizon (Ubuntu)
2016-06-23 19:10:26 Brian Murray horizon (Ubuntu Xenial): status Triaged Fix Committed
2016-06-24 15:20:55 James Page cloud-archive/mitaka: status Triaged Fix Committed
2016-06-24 15:20:56 James Page tags verification-needed verification-mitaka-needed verification-needed
2016-06-27 14:48:53 Corey Bryant tags verification-mitaka-needed verification-needed verification-done verification-mitaka-done
2016-07-01 06:59:46 Martin Pitt removed subscriber Ubuntu Stable Release Updates Team
2016-07-01 06:59:44 Launchpad Janitor horizon (Ubuntu Xenial): status Fix Committed Fix Released
2016-07-01 13:58:25 James Page cloud-archive/mitaka: status Fix Committed Fix Released