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

  1. On the server hosting the dashboard service, install the python-django-sahara package:
    # yum install python-django-sahara
  2. Open the OpenStack dashboard Python configuration file, namely /usr/share/openstack-dashboard/openstack_dashboard/settings.py. In there, add sahara to the dashboard listing of HORIZON_CONFIG. For example:
    HORIZON_CONFIG = {
         'dashboards': ('nova','syspanel','settings',...,'sahara')
  3. In the same file, add saharadashboard to INSTALLED_APPS:
    INSTALLED_APPS = (
         'saharadashboard',
         ...
  4. Next, open the /etc/openstack_dashboard/local_settings.py file. Specify OpenStack Networking as the cloud's networking service by adding the following parameter:
    SAHARA_USE_NEUTRON = True
  5. In the same file, define the location of the OpenStack Sahara service through the SAHARA_URL setting:
    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 using openstack-nova-network with auto_assign_floating_ip=False configured, then add the following parameter as well to /etc/openstack_dashboard/local_settings.py:
    AUTO_ASSIGNMENT_ENABLED = False
  6. Restart the web service for the changes to take effect:
    # service httpd restart