Dashboard panels intermittently disappear when they are in the 'default' panel group.

Bug #1656045 reported by Travis Tripp
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Eddie Ramirez
11.0.0-ocata
Fix Released
High
Eddie Ramirez

Bug Description

In a panel enabled.py file you can make a panel appear directly in the dashboard nav menu by putting it in the default panel group:

# The slug of the panel group the PANEL is associated with.
# If you want the panel to show up without a panel group,
# use the panel group "default".

https://github.com/openstack/horizon/blob/master/horizon/base.py#L51-L52

At some point in Ocata, something changed that made panels intermittently disappear from the nav menu if they are not in a panel group and you are using the 'default' theme. If you switch to the material theme, this does not occur.

For example, with searchlight ui enabled [0]

The search panel will appear in the nave menu when you first open the project dashboard. However, if you then expand the compute panel group and click into Instances, Volumes, etc, when the page reloads and displays one of those panel, the search panel (which is in the default panel group [1]) will no longer appear in the left hand menu nav.

http://imgur.com/a/WDd6y

[0] https://github.com/openstack/searchlight-ui
[1] https://github.com/openstack/searchlight-ui/blob/master/searchlight_ui/enabled/_1001_project_search_panel.py#L21

summary: - Dashboard panels intermittently disappear when they aren't nested in a
- panel group
+ Dashboard panels intermittently disappear when they are in the 'default'
+ panel group.
Revision history for this message
Eddie Ramirez (ediardo) wrote :

Confirmed. The HTML is there but hidden from the user because of the .collapse class.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/425440
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2e66521ef050366623251e48109cfab30edc7383
Submitter: Jenkins
Branch: master

commit 2e66521ef050366623251e48109cfab30edc7383
Author: Eddie Ramirez <email address hidden>
Date: Wed Jan 25 22:19:40 2017 +0000

    Dashboard panels intermittently disappear when they are in the 'default' group.

    Change-Id: I23a7c147e8241239e8fa13b265c2aa00dfcdbf2c
    Closes-Bug: #1656045

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/426743

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

Reviewed: https://review.openstack.org/426743
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=630a2262047679af97b41671873aaa986e8c9023
Submitter: Jenkins
Branch: stable/newton

commit 630a2262047679af97b41671873aaa986e8c9023
Author: Eddie Ramirez <email address hidden>
Date: Wed Jan 25 22:19:40 2017 +0000

    Dashboard panels intermittently disappear when they are in the 'default' group.

    Change-Id: I23a7c147e8241239e8fa13b265c2aa00dfcdbf2c
    Closes-Bug: #1656045
    (cherry picked from commit 2e66521ef050366623251e48109cfab30edc7383)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.0.0rc1

This issue was fixed in the openstack/horizon 11.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 10.0.3

This issue was fixed in the openstack/horizon 10.0.3 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.