[openstack-dev] unregistering a panel from horizon

Ian Stokes-Rees ijstokes at seas.harvard.edu
Fri Aug 24 15:36:52 UTC 2012


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/5e09629a/attachment.html>


More information about the OpenStack-dev mailing list