Problems during XStatic-Magic-Search package SCSS assets compression on controller

Bug #1482674 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Low
Igor Yozhikov

Bug Description

There are some errors when running /usr/share/openstack-dashboard/manage.py compress on controller nodes. Most likely this is caused by changing Magic-Search package to libjs-* version with an older version than is currently used in in Horizon (XStatic-Magic-Search==0.2.5.1). To be sure we have to use this version and check whether the error still persists.

Tags: horizon
Timur Sufiev (tsufiev-x)
Changed in mos:
importance: Undecided → Low
assignee: nobody → Igor Yozhikov (iyozhikov)
tags: added: horizon
Changed in mos:
milestone: none → 7.0
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Timur, Igor, please, add more detailed information about the bug, it is not clear how to reproduce the issue and how to verify the fix.

Changed in mos:
status: New → Confirmed
status: Confirmed → Incomplete
assignee: Igor Yozhikov (iyozhikov) → Timur Sufiev (tsufiev-x)
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Status, changed to Incomplete because this issue has low priority and we are on Soft Code Freeze. If we want to fix the issue in MOS 7.0 we need to change priority to High and add more information in the bug description.

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Timur, you need to run /usr/share/openstack-dashboard/manage.py collectstatic --clear --noinput && /usr/share/openstack-dashboard/manage.py compress on a controller node on Horizon. This bug states that while doing so, you'll encounter a recoverable error that mentions some files missing during processing Magic-Search package's assets.

Changed in mos:
assignee: Timur Sufiev (tsufiev-x) → Igor Yozhikov (iyozhikov)
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

The exact error is:

WARNING:scss:File to import not found or unreadable: '/horizon/lib/magic_search/magic_search.scss' (<string u'// Pure CSS Vendor\n@import "/horizon/lib/bootstrap'...>:0)

Changed in mos:
status: Incomplete → In Progress
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Deployment work without any issues, fix verified on MOS 7.0 RC2 ISO.

Changed in mos:
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.