horizon does not load the css properly

Bug #1537815 reported by Jeffrey Zhang
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Jeffrey Zhang

Bug Description

css and js are not loaded.

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

The root cause is the developer panel.

On the build stage, the DEBUG is True, and the developer panel is load and its asset is compressed.
On the run stage(ansible deploy), the DEBUG is False and the developer panel is disable and its asset is no compressed.

https://github.com/openstack/horizon/blob/master/openstack_dashboard/enabled/_9001_developer.py#L35

Changed in kolla:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.openstack.org/272165
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=4afe624f07c7184aaf8c2a7deba5f61b9342ed32
Submitter: Jenkins
Branch: master

commit 4afe624f07c7184aaf8c2a7deba5f61b9342ed32
Author: Jeffrey Zhang <email address hidden>
Date: Tue Jan 26 00:27:58 2016 +0800

    Re-generate the compressed css and js on every horizon start

    The local_settings file affect django-compress behavior, so
    re-generate the compressed javascript and css if it is changed

    Closes-Bug: #1537815
    Change-Id: I330bfb666e39ffb88a4488793562df697d5572d0

Changed in kolla:
status: In Progress → 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.