Removing cinder from dashboard

Matthias Runge mrunge at matthias-runge.de
Sun Dec 2 12:18:45 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/01/2012 08:17 PM, Nux! wrote:
> Hello,
> 
> I just did yet another openstack-demo-install on some server and
> this one will not use swift and cinder, therefore I want it removed
> from the dashboard. Merely uninstalling the packages didn't seem to
> do anything, except making dashboard spitting out an error about
> not being able to retrieve the quota. Looking through the
> settings.py in /usr/share/openstack-dashboard there doesn't seem to
> be anything relevant to this and trying to remove the service via
> keystone service-delete borked the whole keystone auth for some
> reason.
> 
> Any pointers welcome.
> 
> Regards, Lucian
> 
Hi,

from
https://github.com/openstack/horizon in the
"Settings Up OpenStack" section
(it's their spelling, not mine):


The minimum required set of OpenStack services running includes the
following:

    Nova (compute, api, scheduler, network, and volume services)
    Glance
    Keystone


In general: the dashboard is configured through keystone, nothing else.
It might be possible to remove the dependency to volume service by the
following patch:

diff --git a/horizon/dashboards/nova/dashboard.py
b/horizon/dashboards/nova/dashboard.py
index 822f926..79b9a91 100644
- --- a/horizon/dashboards/nova/dashboard.py
+++ b/horizon/dashboards/nova/dashboard.py
@@ -24,7 +24,6 @@ class BasePanels(horizon.PanelGroup):
     name = _("Manage Compute")
     panels = ('overview',
               'instances',
- -              'volumes',
               'images_and_snapshots',
               'access_and_security',
               'networks')
diff --git a/horizon/dashboards/syspanel/dashboard.py
b/horizon/dashboards/syspanel/dashboard.py
index a25c9fc..94e2529 100644
- --- a/horizon/dashboards/syspanel/dashboard.py
+++ b/horizon/dashboards/syspanel/dashboard.py
@@ -22,7 +22,7 @@ import horizon
 class SystemPanels(horizon.PanelGroup):
     slug = "syspanel"
     name = _("System Panel")
- -    panels = ('overview', 'instances', 'volumes', 'services', 'flavors',
+    panels = ('overview', 'instances', 'services', 'flavors',
               'images', 'projects', 'users', 'quotas', 'networks',)


That's it.

- -- 
Matthias Runge <mrunge at matthias-runge.de>
               <mrunge at fedoraproject.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQu0cdAAoJEOnz8qQwcaIWDqwIAIsagMqP8PnQF/g8qPTnivSK
Axbnb64QdLh9KiFND4T/sEV9cnPkv6F8lIWuS2p3HtIMxK7aydL4kwrPFqI92z9c
Ae8hey3bY7BJ2+LEh2kjC4Dmi2ohFCjbd+UAsRXiNPsC0NdbII3JrIrMmjob35KL
NF72yCaw17KZUAdO9SXqc2+XDmRHLTPkbI6oxHeF3Q3Avdm3e7lp4Zdvxw/w+2Zu
uxU5Tozlp5Nr/fSdu3sBtCaYSneX2o1APEE1n/N6RYXWEZS5BZtElLk2jhhuJ+6A
mrhSfNIV2Xizuv9SngbgombjqOLJD8q7W+eLTzQ4SBmvBcJtb7+5voTRlgjEwmM=
=X/PP
-----END PGP SIGNATURE-----


More information about the cloud mailing list