[openstack-dev] unregistering a panel from horizon

Gabriel Hurley Gabriel.Hurley at nebula.com
Fri Aug 24 19:42:30 UTC 2012


The "Containers" panel should not appear unless you have an "object-store" service configured in your keystone service catalog. And if you have that in your keystone catalog when you're not using it then you should probably go fix that first. ;-)

All the best,


-          Gabriel

From: Ian Stokes-Rees [mailto:ijstokes at seas.harvard.edu]
Sent: Friday, August 24, 2012 8:37 AM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] unregistering a panel from horizon

In our OS deployment we do not use the "Object Store/Containers" functionality.  I am attempting to remove it from the openstack_dashboard Horizon instance, but without luck.  I have followed the instructions here:

    http://docs.openstack.org/developer/horizon/topics/customizing.html

and have in my overrides file:
import horizon

horizon.Horizon.unregister_panel(horizon.Horizon.get_default_dashboard(),
                      horizon.dashboards.nova.dashboard.ObjectStorePanels)

However this does not work (I get a 'panel slug "nova" not registered' error).  I've tried a few variations on this and dug around the documentation to see how I could *directly* un-register the ObjectStorePanels panel group, but I can't figure out how to do this.

Suggestions warmly received.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120824/afb7c48c/attachment-0001.html>


More information about the OpenStack-dev mailing list