[juno] horizon: compress has failed

Bug #1366784 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Kaigarodеsev

Bug Description

Fuel 6.0.

Deploy CentOS environment.

(/Stage[main]/Horizon/Exec[horizon_compress_styles]) Failed to call refresh: python manage.py compress returned 1 instead of one of [0]

TRACE:

From <string u'// bootstrap overrides:\n$icon-font-path: "/static/'...>:0
Traceback:
  File "/usr/lib64/python2.6/site-packages/scss/__init__.py", line 497, in manage_children
    self._manage_children_impl(rule, scope)
  File "/usr/lib64/python2.6/site-packages/scss/__init__.py", line 547, in _manage_children_impl
    self._do_import(rule, scope, block)
  File "/usr/lib/python2.6/site-packages/django_pyscss/scss.py", line 118, in _do_import
    source_file = self._find_source_file(name, relative_to)
  File "/usr/lib/python2.6/site-packages/django_pyscss/scss.py", line 89, in _find_source_file
    with storage.open(full_filename) as f:
  File "/usr/lib/python2.6/site-packages/django/core/files/storage.py", line 36, in open
    return self._open(name, mode)
  File "/usr/lib/python2.6/site-packages/django/core/files/storage.py", line 159, in _open
    return File(open(self.path(name), mode))
IOError: [Errno 21] Is a directory: u'/usr/share/openstack-dashboard/static/bootstrap/scss/bootstrap'

Tags: juno
Changed in fuel:
milestone: none → 6.0
status: New → Confirmed
importance: Undecided → High
tags: added: juno
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

This is a known problem in django-pyscss package used by openstack_dashboard: https://github.com/fusionbox/django-pyscss/issues/10

Confirmed on django-pyscss==1.0.1, works fine on django-pyscss==1.0.2

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Need to update DEB and RPM django-pyscss. So, it should be assigned on OSCI Team

Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Dmitry Kaigarodsev (dkaiharodsev)
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-django-pyscss has been built from changeset: http://gerrit.mirantis.com/20047
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-20047/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-django-pyscss has been built from changeset: http://gerrit.mirantis.com/27993
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-27993/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-pyscss has been built from changeset: http://gerrit.mirantis.com/28004
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-28004/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-pyscss has been built from changeset: http://gerrit.mirantis.com/28004
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-django-pyscss has been built from changeset: http://gerrit.mirantis.com/27993
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-27993/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-django-pyscss has been built from changeset: http://gerrit.mirantis.com/27993
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package python-django-pyscss has been built from changeset: http://gerrit.mirantis.com/20047
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master/centos

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on custom ISO with Juno #20

"build_id": "2014-10-10_17-06-59", "ostf_sha": "7b2200ba90302d938841584c77ee86dd55814e6a", "build_number": "20", "auth_required": true, "api": "1.0", "nailgun_sha": "1386bdb46aaa989cf1d00e52a61d0a193acbeab9", "production": "docker", "fuelmain_sha": "6d2c7107353e17d50bd5e72846d986ab5b7c430e", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-10_17-06-59", "ostf_sha": "7b2200ba90302d938841584c77ee86dd55814e6a", "build_number": "20", "api": "1.0", "nailgun_sha": "1386bdb46aaa989cf1d00e52a61d0a193acbeab9", "production": "docker", "fuelmain_sha": "6d2c7107353e17d50bd5e72846d986ab5b7c430e", "astute_sha": "65a5a0781d314bdcc090a61a599a8abf95989fc1", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "f282999b04f4ff42b8d9147c9a7ab9348da1b24b"}}}, "fuellib_sha": "f282999b04f4ff42b8d9147c9a7ab9348da1b24b"

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.

Other bug subscribers

Remote bug watches

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