horizon_compress_styles returns Undefined variable: '$font-size-small'

Bug #1389744 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Max Yatsenko

Bug Description

{"build_id": "2014-11-05_10-27-18", "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa", "build_number": "61", "auth_required": true, "api": "1.0", "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129", "production": "docker", "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13", "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-11-05_10-27-18", "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa", "build_number": "61", "api": "1.0", "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129", "production": "docker", "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13", "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "94896f84dc284e8335dbc9c713dc6e6691a51c2a"}}}, "fuellib_sha": "94896f84dc284e8335dbc9c713dc6e6691a51c2a"}

Test Ubuntu deploy_ha_vlan finished with error in the puppet log:

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

http://paste.openstack.org/show/129674/
http://jenkins-product.srt.mirantis.net:8080/job/6.0.staging.ubuntu.bvt_2/57/testReport/%28root%29/deploy_ha_vlan/deploy_ha_vlan/

Revision history for this message
Egor Kotko (ykotko) wrote :
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
importance: Undecided → High
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: High → Critical
status: New → Confirmed
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

here is horizon log output:

13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): No handlers could be found for logger "scss"
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: Error evaluating expression:
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): $font-size-small
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice):
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): From /usr/share/openstack-dashboard/static/dashboard/scss/_context_selection.scss:20
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): ...imported from <string u'// bootstrap overrides:\n$icon-font-path: "../../bo'...>:141
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): Traceback:
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): File "/usr/lib/python2.7/dist-packages/scss/expression.py", line 130, in evaluate_expression
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): return ast.evaluate(self, divide=divide)
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): File "/usr/lib/python2.7/dist-packages/scss/expression.py", line 359, in evaluate
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): raise SyntaxError("Undefined variable: '%s'." % self.name)
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): SyntaxError: Undefined variable: '$font-size-small'.
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): Found 'compress' tags in:
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles]/returns (notice): Compressing...
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles] (err): Failed to call refresh: python manage.py compress returned 1 instead of one of [0]
Wed Nov 05 13:53:52 +0000 2014 /Stage[main]/Horizon/Exec[horizon_compress_styles] (err): python manage.py compress returned 1 instead of one of [0]

Revision history for this message
Roman Vyalov (r0mikiam) wrote :

This bug blocks staging mirrors!

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Horizon (mos-horizon)
summary: - Deploy HA vlan finished with errors in puppets log
+ horizon_compress_styles returns Undefined variable: '$font-size-small'
Igor Marnat (imarnat)
Changed in fuel:
assignee: MOS Horizon (mos-horizon) → Max Yatsenko (myatsenko)
Revision history for this message
Max Yatsenko (myatsenko) wrote :

To solve this issue deb spec was updated ("openstack-dashboard.install" file)
according to upstream spec - https://review.fuel-infra.org/#/c/649/ .
To test it new environment will be installed using fuel-6.0-66-2014-10-31_00-32-30.iso .

Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Max Yatsenko (myatsenko) wrote :

To fix this issue a workaround in https://review.fuel-infra.org/#/c/649/
was provided.

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
tags: removed: on-verification
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Staging iso

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "140"
  build_id: "2014-12-18_07-54-32"
  astute_sha: "16b252d93be6aaa73030b8100cf8c5ca6a970a91"
  fuellib_sha: "73332192a257ea02c40a39885c502ad1ebdf3eda"
  ostf_sha: "a9afb68710d809570460c29d6c3293219d3624d4"
  nailgun_sha: "5f91157daa6798ff522ca9f6d34e7e135f150a90"
  fuelmain_sha: "45caacadb878abfbd9d60e134d72229698b469c9"

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.