[Bug 1479340] [NEW] Horizon packaging issue: puppet-horizon recipe calling manage.py with --clear breaks horizon

Robert van Leeuwen rovanleeuwen at ebay.com
Wed Jul 29 12:32:07 UTC 2015


Public bug reported:

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

** Affects: cloud-archive
     Importance: Undecided
         Status: New

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

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