After installing horizon package from http://172.18.160.74/osci//mos/7.0/cluster/base//trusty/pool/main/h/horizon/python-django-horizon_2015.1.0-1~u14.04%2bmos4229_all.deb
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.
It also can be reproduced on: http://mc0n1-msk.msk.mirantis.net/fuelweb-iso/fuel-gerrit-7.0-119-2015-06-29_16-39-43.iso.torrent
I'd like to point out that I had to fight this a lot in the Debian horizon package before the release of Kilo, with a similar issue. On my case, this was due to a terrible mistake in the naming of the xstatic-lrdragndrop python module, where upstream did the mistake of replacing the lower case l by a i (as in, Irdragndrop instead of lrdragndrop). Horizon couldn't find the corresponding js and offline compress crashed.
So, this type of issue is the consequence of having a javascript file not accessible in the defined path, which is itself maybe the symptom of a wrong python-xstatic package. In this case, however, it seems it can't find /usr/share/ openstack- dashboard/ static/ dashboard/ scss/horizon. scss which it is trying to compress, which doesn't involve any xstatic package.
I have just checked the differences between the Debian horizon package and the MOS one, and one I have found is this: in Debian, the package has, in debian/ openstack- dashboard. links, the below 3 lines which the MOS package doesn't have:
/var/lib/ openstack- dashboard/ static/ scss /usr/share/ openstack- dashboard/ openstack_ dashboard/ static/ dashboard/ scss openstack- dashboard/ static/ js /usr/share/ openstack- dashboard/ openstack_ dashboard/ static/ dashboard/ js fonts-font- awesome/ fonts /usr/share/ pyshared/ horizon/ static/ horizon/ lib/font- awesome/ fonts
/var/lib/
/usr/share/
So the fix looks like adding these lines.