[Bug 1659570] Re: Installing murano-dashboard=3.0.0 deletes needed files
corey.bryant at canonical.com
Wed Feb 1 13:28:41 UTC 2017
I've uploaded several new dashboards to zesty and started the backport
process to the ocata cloud archive. This includes updates to the
murano-dashboard and openstack-dashboard packages. Note that static
assets are now aligned across dashboards and stored in /var/lib
If you'd like to give it a try on Xenial:
sudo add-apt-repository ppa:ubuntu-cloud-archive/ocata-staging
sudo apt-get update
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
Installing murano-dashboard=3.0.0 deletes needed files
Status in horizon package in Ubuntu:
Status in murano-dashboard package in Ubuntu:
The reason is that in the postinst this is called:
/usr/share/openstack-dashboard/manage.py collectstatic --clear
where the "--clear" options means "delete existing files". The files
are collected into /usr/share/openstack-dashboard/horizon/static/, now
sadly there is a symlink:
# ls -l /usr/share/openstack-dashboard/openstack_dashboard/static/horizon
lrwxrwxrwx 1 horizon horizon 62 Oct 8 19:35 /usr/share/openstack-dashboard/openstack_dashboard/static/horizon -> ../../../../lib/python2.7/dist-packages/horizon/static/horizon
and manage.py happily follows that symlink and deletes all the files
behind it, leading to failure of the "manage.py compress" called after
Compressing... CommandError: An error occurred during rendering
'horizon/js/horizon.js' could not be found in the COMPRESS_ROOT
'/usr/share/openstack-dashboard/static' or with staticfiles.
Now I'm not sure whether this error should be really attributed to
murano-dashboard or to the way openstack-dashboard is packaged/set up.
The issue happens identically if I run the collectstatic command
manually without murano-dashboard being installed.
To manage notifications about this bug go to:
More information about the Ubuntu-openstack-bugs