Adding panel group to panel config results to Other panel group
Bug #1287981 reported by
Lin Hua Cheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Lin Hua Cheng |
Bug Description
Using the pluggable panel config to add panel groups result to the panel group being added to being displayed in
“Other” group, and getting message in the log saying, “Only Panel classes or subclasses may be registered.”
Changed in horizon: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
Changed in horizon: | |
milestone: | none → icehouse-rc1 |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in horizon: | |
assignee: | Lin Hua Cheng (lin-hua-cheng) → Akihiro Motoki (amotoki) |
Changed in horizon: | |
assignee: | Akihiro Motoki (amotoki) → Lin Hua Cheng (lin-hua-cheng) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
A possible solution is to add a support for deployer to create a empty panel group through the configuration.
Sample ADD PANEL GROUP config: panel_group’ DASHBOARD = “admin"
PANEL_GROUP = ‘plugin_
PANEL_GROUP_NAME = _(“Plugin Panel Group”)
PANEL_GROUP_
This will just create a panel group placeholder. After the panel group is created, the existing mechanism for adding panels to panel group could be re-use.
Sample ADD PANEL config:
# The name of the panel to be added to HORIZON_CONFIG. Required.
PANEL = 'plugin_panel'
# The name of the dashboard the PANEL associated with. Required.
PANEL_DASHBOARD = 'admin'
# The name of the panel group the PANEL is associated with.
PANEL_GROUP = 'admin'
# Python panel class of the PANEL to be added. dashboard. test.test_ panels. plugin_ panel.panel. PluginPanel'
ADD_PANEL = \
'openstack_