11.5. Install and Configure the OpenStack Sahara User Interface
Cluster creation and management with OpenStack Sahara is best done through the OpenStack Sahara user interface. You can install this user interface by installing the OpenStack Sahara dashboard plugin.
You can install this plugin on any OpenStack dashboard instance. We recommend that you install this plugin on the same dashboard instance you use for managing the OpenStack deployment.
Procedure 11.6. Installing and configuring the OpenStack Sahara user interface
- On the server hosting the dashboard service, install the python-django-sahara package:
#yum install python-django-sahara - Open the OpenStack dashboard Python configuration file, namely
/usr/share/openstack-dashboard/openstack_dashboard/settings.py. In there, addsaharato thedashboardlisting ofHORIZON_CONFIG. For example:HORIZON_CONFIG = { 'dashboards': ('nova','syspanel','settings',...,'sahara') - In the same file, add
saharadashboardtoINSTALLED_APPS:INSTALLED_APPS = ( 'saharadashboard', ... - Next, open the
/etc/openstack_dashboard/local_settings.pyfile. Specify OpenStack Networking as the cloud's networking service by adding the following parameter:SAHARA_USE_NEUTRON = True
- In the same file, define the location of the OpenStack Sahara service through the
SAHARA_URLsetting:SAHARA_URL = 'SAHARA_IP:PORT/v1.1'
Replace SAHARA_IP:PORT with the URL and port of used by the OpenStack Sahara service.Note
If you are usingopenstack-nova-networkwithauto_assign_floating_ip=Falseconfigured, then add the following parameter as well to/etc/openstack_dashboard/local_settings.py:AUTO_ASSIGNMENT_ENABLED = False
- Restart the web service for the changes to take effect:
#service httpd restart