In the following section, we will integrate and configure Sahara in an existing OpenStack environment:
- Install the Sahara CLI and API services package on the cloud controller nodes:
# yum install openstack-sahara
- Configure the Sahara database by entering the database connection URL in the main Sahara configuration file. Make sure that you create a valid database:
# vim /etc/sahara/sahara.conf ... [database] connection mysql://sahara:[email protected]:3306/sahara ...
- Create a Sahara database schema:
# sahara-db-manage --config-file /etc/sahara/sahara.conf \ upgrade head
- The next step requires a valid identification of the Sahara service in the OpenStack environment. As with any other OpenStack service, we will need to authenticate Sahara through Keystone. Start by creating a Sahara user:
# keystone user-create...