In this section, the Sahara service will be installed and configured in the cloud controller node. To do so, a few steps need to be done in order to get a successful Sahara service integration in our OpenStack environment.
The RDO installation did not provide any Elastic Data Processing installation. Thus, we will need to install the right OpenStack Sahara package from the repository in the cloud controller node as follows:
# yum install openstack-sahara
The openstack-sahara
package provides essentially the openstack-sahara-api
to talk with other OpenStack services as well as the Command Line Interface (CLI) clients sahara
and sahara-db-manage
.
The next step requires proper configuration to connect to the database. Like any other OpenStack service, the database connection URI directive can be found in the service configuration file, which in our case is in /etc/sahara/sahara.conf
.
Since we are using MySQL, add the following line...