horizon offline generation error

Bug #1599536 reported by Matthew J Black
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-horizon
Fix Released
Medium
Matthew J Black

Bug Description

On Ubuntu, the compress is not being called which is resulting in a Horizon OfflineGenerationError.

OfflineGenerationError at /auth/login/
You have offline compression enabled but key "6c9fde900c76211c586033567b1b3d99" is missing from offline manifest. You may need to run "python manage.py compress".
Request Method: GET
Request URL: http://horizon.example.net/horizon/auth/login/?next=/horizon/
Django Version: 1.8.7
Exception Type: OfflineGenerationError
Exception Value:
You have offline compression enabled but key "6c9fde900c76211c586033567b1b3d99" is missing from offline manifest. You may need to run "python manage.py compress".
Exception Location: /usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py in render_offline, line 71
Python Executable: /usr/bin/python
Python Version: 2.7.6
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']

Changed in puppet-horizon:
assignee: nobody → Matthew J Black (mjblack)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/338463

Changed in puppet-horizon:
status: New → In Progress
Changed in puppet-horizon:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-horizon (master)

Reviewed: https://review.openstack.org/338463
Committed: https://git.openstack.org/cgit/openstack/puppet-horizon/commit/?id=62b4476db480bdddb3b3953cc4a88529a1bb55f1
Submitter: Jenkins
Branch: master

commit 62b4476db480bdddb3b3953cc4a88529a1bb55f1
Author: Matthew J. Black <email address hidden>
Date: Wed Jul 6 14:04:17 2016 -0400

    Horizon django cache compress on ubuntu

    Change splits the exec for the manage.py to be split into collectstatic
    and compress. Previously, both actions were only executed on redhat but
    ubuntu requires compress on config change too.

    Change-Id: Ib7238f9bc107c372759d1ebbeb88469806267769
    Closes-Bug: #1599536

Changed in puppet-horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/340898

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-horizon (stable/mitaka)

Reviewed: https://review.openstack.org/340898
Committed: https://git.openstack.org/cgit/openstack/puppet-horizon/commit/?id=77cfadf139b946dacf3b7eb245cd2c0eed878b35
Submitter: Jenkins
Branch: stable/mitaka

commit 77cfadf139b946dacf3b7eb245cd2c0eed878b35
Author: Matthew J. Black <email address hidden>
Date: Wed Jul 6 14:04:17 2016 -0400

    Horizon django cache compress on ubuntu

    Change splits the exec for the manage.py to be split into collectstatic
    and compress. Previously, both actions were only executed on redhat but
    ubuntu requires compress on config change too.

    Change-Id: Ib7238f9bc107c372759d1ebbeb88469806267769
    Closes-Bug: #1599536
    (cherry picked from commit 62b4476db480bdddb3b3953cc4a88529a1bb55f1)

tags: added: in-stable-mitaka
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/puppet-horizon 8.2.0

This issue was fixed in the openstack/puppet-horizon 8.2.0 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-horizon 9.2.0

This issue was fixed in the openstack/puppet-horizon 9.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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