Public bug reported:

The reason is that in the postinst this is called:

/usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput

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
that:

Compressing... CommandError: An error occurred during rendering
/usr/share/openstack-
dashboard/openstack_dashboard/templates/horizon/_conf.html:
'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.

** Affects: murano-dashboard (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659570

Title:
  Installing murano-dashboard=3.0.0 deletes needed files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/murano-dashboard/+bug/1659570/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to