OpenStack Dashboard Configuration Guide

OpenStack Dashboard Configuration Guide

After installing the Sahara dashboard, there are a few extra configurations that can be made.

Dashboard configurations are applied through Horizon’s file. The sample configuration file is available here.

1. Networking

Depending on the Networking backend (Nova Network or Neutron) used in the cloud, Sahara panels will determine automatically which input fields should be displayed.

While using Nova Network backend the cloud may be configured to automatically assign floating IPs to instances. If Sahara service is configured to use those automatically assigned floating IPs the same configuration should be done to the dashboard through the SAHARA_AUTO_IP_ALLOCATION_ENABLED parameter.



2. Different endpoint

Sahara UI panels normally use data-processing endpoint from Keystone to talk to Sahara service. In some cases it may be useful to switch to another endpoint, for example use locally installed Sahara instead of the one on the OpenStack controller.

To switch the UI to another endpoint the endpoint should be registered in the first place.

Local endpoint example:

openstack service create --name sahara_local --description \
    "Sahara Data Processing (local installation)" \

openstack endpoint create --region RegionOne \
--publicurl\(project_id\)s \
--adminurl\(project_id\)s \
--internalurl\(project_id\)s \

Then the endpoint name should be changed in under the module of sahara-dashboard/sahara_dashboard/api/

# "type" of Sahara service registered in keystone
SAHARA_SERVICE = 'data_processing_local'

3. Hiding health check info

Sahara UI panels normally contain some information about cluster health. If the relevant functionality has been disabled in the Sahara service, then operators may prefer to not have any references to health at all in the UI, since there would not be any usable health information in that case.

The visibility of health check info can be toggled via the SAHARA_VERIFICATION_DISABLED parameter, whose default value is False, meaning that the health check info will be visible.


Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.