Panels within a PanelGroup display in random order

Bug #1333739 reported by Chad Roberts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

I have created a PanelGroup (In the Project dashboard) with the code below...

class DataProcessingPanels(horizon.PanelGroup):
    name = _("Data Processing")
    slug = "data_processing"
    panels = ('data_processing.plugins',
              'data_processing.data_image_registry',
              'data_processing.nodegroup_templates',
              'data_processing.cluster_templates',
              'data_processing.clusters',
              'data_processing.data_sources',
              'data_processing.job_binaries',
              'data_processing.jobs',
              'data_processing.job_executions', )

When I run horizon and look at the UI, I notice that each time I run, the panels appear in a different order. I am guessing that it might be due to the fact that my panels are not directly in the "project" directory, but rather in a "data_processing" subdirectory, but I have not confirmed that yet.

Side note: This might be loosely related to https://bugs.launchpad.net/horizon/+bug/1329050

This bug shows up in the following patch: https://review.openstack.org/#/c/89846/ (In order to be able to see the DataProcessing PanelGroup, you would need a stack with the Sahara (data_processing) service enabled.

Tags: horizon-core
Revision history for this message
Chad Roberts (croberts) wrote :

I sent an email to openstack-dev that is related to this bug: http://lists.openstack.org/pipermail/openstack-dev/2014-June/038696.html

Revision history for this message
Tatiana Ovchinnikova (tmazur) wrote :

I cannot reproduce this bug. Even with the name "Other" instead of "Data Processing" (https://bugs.launchpad.net/horizon/+bug/1329050) the order of subpanels was right each time.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I tested with the latest branch with devstack and cannot reproduce the behavior.
The order of panels in Data Processing panel group is exactly same as they are defined.
I checked in the following two ways:

* The order of the panels are same in openstack_dashboard/dashboards/project/dashboard.py in the master branch.
* After changing the panel order to the order described in the bug description and restart apache2,
  the order of the panels is changed as defined in new dashboard.py.

We need more information how to reproduce it.

tags: added: horizon-core
Changed in horizon:
status: New → Incomplete
Revision history for this message
Andrew Lazarev (alazarev) wrote :

I observed the issue before. But now it looks like fixed. Also https://review.openstack.org/#/c/111064/ was merged and it fixes panels order.

Changed in horizon:
status: Incomplete → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
status: Fix Committed → Invalid
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.