[Bug 1659570] Re: Installing murano-dashboard=3.0.0 deletes needed files

Corey Bryant corey.bryant at canonical.com
Thu Feb 9 17:27:39 UTC 2017

Can you try using openstack-dashboard from ocata-proposed?  You may have
picked up rc1 of openstack-dashboard which we haven't tested yet.

I don't see us backporting openstack-dashboard updates to Newton
unfortunately because there were significant changes required.

I switched user:group from horizon to www-data to align openstack-
dashboard with the all of the additional dashboards use (most of which
we pick up from debian).  The additional dashboards, such as murano-
dashboard, change the user:group to www-data.

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:
  Fix Committed
Status in murano-dashboard package in Ubuntu:
  Fix Committed

Bug description:
  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 mailing list