if compress_static=true failed to apply horizon puppets

Bug #1470993 reported by Vasyl Saienko
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vasyl Saienko

Bug Description

 /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force (from https://github.com/openstack/puppet-horizon/blob/master/manifests/init.pp#L322 ) returns error:

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.

--clear - remove horizon.scss which is needed for /usr/share/openstack-dashboard/manage.py compress --force

issue is found on:

root@ub-testing:/home/jumpojoy# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
root@ub-testing:/home/jumpojoy# dpkg -l |grep openstack-dashboard
ii openstack-dashboard 1:2015.1.0-0ubuntu1 all Django web interface for OpenStack
ii openstack-dashboard-ubuntu-theme 1:2015.1.0-0ubuntu1 all Ubuntu theme for the OpenStack dashboard

Changed in puppet-horizon:
assignee: nobody → Vasyl Saienko (vsaienko)
status: New → In Progress
Vasyl Saienko (vsaienko)
Changed in fuel:
assignee: nobody → Vasyl Saienko (vsaienko)
Changed in fuel:
milestone: none → 7.0
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Vasyl Saienko (vsaienko) wrote :

issues was fixed in package: https://review.fuel-infra.org/#/c/9170/

Changed in fuel:
status: Confirmed → Fix Committed
Changed in puppet-horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-horizon (master)

Change abandoned by Vasyl Saienko (<email address hidden>) on branch: master
Review: https://review.openstack.org/198119
Reason: issue was fixed in package https://review.fuel-infra.org/#/c/9170/

Revision history for this message
Robert van Leeuwen (rovanleeuwen) wrote :

Re-opening bug because there are more packages then MOS.
Ubuntu cloud archive packages still hit this issue.

Changed in puppet-horizon:
status: Fix Committed → Confirmed
Vasyl Saienko (vsaienko)
Changed in puppet-horizon:
assignee: Vasyl Saienko (vsaienko) → nobody
Revision history for this message
Matt Fischer (mfisch) wrote :

This is really an upstream packaging issue not a puppet bug.

no longer affects: puppet-horizon
Igor (ipukha)
tags: added: on verification
Revision history for this message
Igor (ipukha) wrote :

Verified on MOS 7.0 ISO #294
It was changed back due to fix in package.

tags: removed: on verification
Igor (ipukha)
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.