Comment 1 for bug 1307511

Revision history for this message
Haiwei Xu (xu-haiwei) wrote :

I got a similar error. When deploying a baremetal machine using devtest, got these logs in /var/log/upstart/os-collect-config.log

Found 'compress' tags in:
        /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/horizon/templates/horizon/_scripts.html
        /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/horizon/templates/horizon/_conf.html
        /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/templates/_stylesheets.html
Compressing... CommandError: An error occured during rendering /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/templates/_stylesheets.html: Error parsing block:
    1
2$icon-font-path: "/static/bootstrap/fonts/bootstrap/";
3$font-size-base: 13px;
4$modal-md: 732px;
6@import "/bootstrap/scss/bootstrap";
7@import "/bootstrap/scss/_datepicker";
8@import "_variables";
9@import "_accordion_nav";

......
From <string u'// bootstrap overrides:\n$icon-font-path: "/static/'...>:0
Traceback:
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/scss/__init__.py", line 498, in manage_children
    self._manage_children_impl(rule, scope)
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/scss/__init__.py", line 548, in _manage_children_impl
    self._do_import(rule, scope, block)
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django_pyscss/scss.py", line 118, in _do_import
    source_file = self._find_source_file(name, relative_to)
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django_pyscss/scss.py", line 89, in _find_source_file
    with storage.open(full_filename) as f:
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/files/storage.py", line 33, in open
    return self._open(name, mode)
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/files/storage.py", line 160, in _open
    return File(open(self.path(name), mode))
IOError: [Errno 21] Is a directory: u'/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/static/bootstrap/scss/bootstrap'
[2014-07-29 06:14:07,118] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/opt/stack/os-config-refresh/post-configure.d']' returned non-zero exit status 1]

ERROR:os-refresh-config:during post-configure phase. [Command '['dib-run-parts', '/opt/stack/os-config-refresh/post-configure.d']' returned non-zero exit status 1]

[2014-07-29 06:14:07,118] (os-refresh-config) [ERROR] Aborting...
ERROR:os-refresh-config:Aborting...
2014-07-29 06:14:07.123 1649 ERROR os-collect-config [-] Command failed, will not cache new data. Command 'os-refresh-config' returned non-zero exit status 1
2014-07-29 06:14:07.124 1649 WARNING os-collect-config [-] Sleeping 30.00 seconds before re-exec.