<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>This seem to have to do with /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/scss/horizon.scss is not being present.<br>
</p>
<p><br>
</p>
<div>Package: python-django-horizon</div>
<div>State: installed</div>
<div>Automatically installed: yes</div>
<div>Version: 1:2015.1.2-0ubuntu1~cloud0</div>
<div>Priority: extra</div>
<div>Section: python</div>
<div>Maintainer: Chuck Short <zulcss@ubuntu.com></div>
<div>Architecture: all</div>
<div>Uncompressed Size: 12.0 M</div>
<div>Depends: python-babel (>= 1.3), python-ceilometerclient (>= 1.0.6), python-cinderclient (>= 1:1.1.0), python-compressor (>= 1.3), python-django</div>
<div>         (>= 1.4.2), python-django-pyscss (>= 1.0.3), python-eventlet (>= 0.16.1), python-glanceclient (>= 1:0.15.0), python-heatclient (>=</div>
<div>         0.3.0), python-httplib2 (>= 0.7.5), python-iso8601 (>= 0.1.9), python-keystoneclient (>= 1:1.0.0), python-kombu (>= 2.5.0),</div>
<div>         python-memcache, python-netaddr (>= 0.7.12), python-neutronclient (>= 1:2.3.11), python-novaclient (>= 1:2.18.0), python-openstack-auth</div>
<div>         (>= 1.1.7), python-oslo-concurrency (>= 1.4.1), python-oslo-config (>= 1:1.9.0), python-oslo-i18n (>= 1.3.0), python-oslo-serialization</div>
<div>         (>= 1.2.0), python-oslo-utils (>= 1.2.0), python-pbr (>= 0.6), python-pint (>= 0.5), python-pyscss (>= 1.2.1), python-saharaclient (>=</div>
<div>         0.7.6), python-six (>= 1.9.0), python-swiftclient (>= 1:2.2.0), python-troveclient (>= 1:1.0.7), python-tz (>= 2013.6), python-yaml (>=</div>
<div>         3.1.0), python:any (>= 2.7.5-5~), python:any (< 2.8)</div>
<div>Recommends: memcached​<br>
</div>
<p><br>
</p>
<p><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Frá:</b> Davíð Örn Jóhannsson<br>
<b>Sent:</b> 18. nóvember 2015 12:02<br>
<b>Til:</b> openstack-operators@lists.openstack.org<br>
<b>Efni:</b> [Openstack-operators] OpenStack Horizon puppet module error python manage.py compress</font>
<div> </div>
</div>
<div>
<p>I'm currently trying to automate horizon setup with <a href="https://github.com/openstack/puppet-horizon/blob/stable/kilo/manifests/init.pp">https://github.com/openstack/puppet-horizon/blob/stable/kilo/manifests/init.pp</a>​ module but I recieve an OfflineGenerationError:<br>
</p>
<p><br>
</p>
<p>You have offline compression enabled but key "695212a2a24c10ba077ec76c387aa922" is missing from offline manifest. You may need to run "python manage.py compress".<br>
</p>
<p><br>
</p>
<p>The module tries to run the following command:<br>
</p>
<p><br>
</p>
<p>/usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force<br>
</p>
<p><br>
</p>
<p>But it results in the following error:<br>
</p>
<p><br>
</p>
<div>Deleting 'bootstrap/js/bootstrap-datepicker.js'</div>
<div>Deleting 'bootstrap/js/bootstrap.js'</div>
<div>Copying '/usr/lib/python2.7/dist-packages/horizon/static/bootstrap/js/bootstrap-datepicker.js'</div>
<div>Copying '/usr/lib/python2.7/dist-packages/horizon/static/bootstrap/js/bootstrap.js'</div>
<div><br>
</div>
<div>2 static files copied.</div>
<div>Found 'compress' tags in:</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html</div>
<div>CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: 'dashboard/less/horizon.less' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' or with staticfiles.​<br>
</div>
<div><br>
</div>
<div>Any Ideas to how one might fix this?<br>
</div>
<p><br>
</p>
<br>
</div>
</div>
</body>
</html>