[Bug 1479340] Re: Horizon packaging issue: puppet-horizon recipe calling manage.py with --clear breaks horizon
James Page
james.page at ubuntu.com
Thu Sep 8 10:14:01 UTC 2016
Adding Ubuntu task as well as this impacts the latest packages as well.
The horizon package generally needs unpicking and putting back together
to ensure that compress/collected assets are separated from those
provided by the package itself; we don't currently use /var/lib/horizon
at all so we should look to make those changes.
That said its non-trivial - I'd hope to look at this for newton, but
we're not far off release now.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1479340
Title:
Horizon packaging issue: puppet-horizon recipe calling manage.py with
--clear breaks horizon
Status in Ubuntu Cloud Archive:
Triaged
Status in horizon package in Ubuntu:
Triaged
Bug description:
failed to execute compression:
/usr/share/openstack-dashboard/manage.py collectstatic --noinput
--clear && /usr/share/openstack-dashboard/manage.py compress --force
Found 'compress' tags in:
/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: 'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' or with staticfiles.
This will break horizon.
The problem seem to exist due to some packaging issues.
Exact details can be found here:
https://bugs.launchpad.net/mos/+bug/1470143
I suggest to implement the changes in the packaging as described in
the above bug report.
Not sure if Mirantis and Ubuntu are working together on this stuff but
it would be great if these fixes would be shared/merged :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1479340/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list