grenade fails setting up horizon with "ImportError: No module named utils" for compressor package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Matt Riedemann | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Seen on a stable/liberty change here, so the old side would be setting up kilo:
2016-01-07 19:40:08.188 | Traceback (most recent call last):
2016-01-07 19:40:08.188 | File "/opt/stack/
2016-01-07 19:40:08.188 | execute_
2016-01-07 19:40:08.188 | File "/usr/local/
2016-01-07 19:40:08.188 | utility.execute()
2016-01-07 19:40:08.189 | File "/usr/local/
2016-01-07 19:40:08.189 | django.setup()
2016-01-07 19:40:08.189 | File "/usr/local/
2016-01-07 19:40:08.189 | apps.populate(
2016-01-07 19:40:08.189 | File "/usr/local/
2016-01-07 19:40:08.189 | app_config.
2016-01-07 19:40:08.189 | File "/usr/local/
2016-01-07 19:40:08.189 | self.models_module = import_
2016-01-07 19:40:08.189 | File "/usr/lib/
2016-01-07 19:40:08.196 | __import__(name)
2016-01-07 19:40:08.196 | File "/usr/local/
2016-01-07 19:40:08.196 | from compressor.conf import CompressorConf # noqa
2016-01-07 19:40:08.196 | File "/usr/local/
2016-01-07 19:40:08.196 | from django.
2016-01-07 19:40:08.196 | ImportError: No module named utils
Looks like this is probably due to django_compressor 2.0 released today breaking all branches:
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in horizon: | |
importance: | Undecided → High |
milestone: | none → mitaka-2 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Capping django_ compressor< 2.0 in stable/kilo g-r:
https:/ /review. openstack. org/#/c/ 265026/
The breaking change was https:/ /github. com/django- compressor/ django- compressor/ commit/ 671cf7dce2a9c5c 42e2d2c4b8bfc82 dcfbcd064a which drops support for django<1.8 and that's what we have django capped at in stable/kilo g-r.