I'm currently trying to automate horizon setup with 
https://github.com/openstack/puppet-horizon/blob/stable/kilo/manifests/init.pp? 
module but I recieve an OfflineGenerationError:


You have offline compression enabled but key "695212a2a24c10ba077ec76c387aa922" 
is missing from offline manifest. You may need to run "python manage.py 
compress".


The module tries to run the following command:


/usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && 
/usr/share/openstack-dashboard/manage.py compress --force


But it results in the following error:


Deleting 'bootstrap/js/bootstrap-datepicker.js'
Deleting 'bootstrap/js/bootstrap.js'
Copying 
'/usr/lib/python2.7/dist-packages/horizon/static/bootstrap/js/bootstrap-datepicker.js'
Copying 
'/usr/lib/python2.7/dist-packages/horizon/static/bootstrap/js/bootstrap.js'

2 static files copied.
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/less/horizon.less' could not be found in the COMPRESS_ROOT 
'/usr/share/openstack-dashboard/static' or with staticfiles.?

Any Ideas to how one might fix this?


_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to