Installing murano-dashboard=3.0.0 deletes needed files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
Fix Released
|
High
|
Corey Bryant | ||
murano-dashboard (Ubuntu) |
Fix Released
|
High
|
Corey Bryant |
Bug Description
The reason is that in the postinst this is called:
/usr/share/
where the "--clear" options means "delete existing files". The files are collected into /usr/share/
# ls -l /usr/share/
lrwxrwxrwx 1 horizon horizon 62 Oct 8 19:35 /usr/share/
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/
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.
Changed in horizon (Ubuntu): | |
status: | New → Fix Committed |
Changed in murano-dashboard (Ubuntu): | |
status: | New → Fix Committed |
Changed in horizon (Ubuntu): | |
importance: | Undecided → High |
Changed in murano-dashboard (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in horizon (Ubuntu): | |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in horizon (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in murano-dashboard (Ubuntu): | |
status: | Fix Committed → Fix Released |
In the 2.0.0 version this part in the postinst file is commented out:
# (tlbr) Run of collectstatic is required but do not run it until easy switch for
#/usr/ share/openstack -dashboard/ manage. py collectstatic --clear --noinput
# for Horizon package will be implemented.
I think I'll try what happens with that. Sadly simply reinstalling python- django- horizon that provided the deleted files did not solve everything, probably will have to reinstall things from scratch ... :-/