Change-Id: I24fd800b0abccf3ddaa10b6447b1f4cd61553e99 Signed-off-by: Corey Leong <profcorey@profcorey.com>
1.9 KiB
1.9 KiB
Prerequisites
Before you install and configure the cascade service, you must create a database, service credentials, and API endpoints.
To create the database, complete these steps:
Use the database access client to connect to the database server as the
rootuser:$ mysql -u root -pCreate the
cascadedatabase:CREATE DATABASE cascade;Grant proper access to the
cascadedatabase:GRANT ALL PRIVILEGES ON cascade.* TO 'cascade'@'localhost' \ IDENTIFIED BY 'CASCADE_DBPASS'; GRANT ALL PRIVILEGES ON cascade.* TO 'cascade'@'%' \ IDENTIFIED BY 'CASCADE_DBPASS';Replace
CASCADE_DBPASSwith a suitable password.Exit the database access client.
exit;
Source the
admincredentials to gain access to admin-only CLI commands:$ . admin-openrcTo create the service credentials, complete these steps:
Create the
cascadeuser:$ openstack user create --domain default --password-prompt cascadeAdd the
adminrole to thecascadeuser:$ openstack role add --project service --user cascade adminCreate the cascade service entities:
$ openstack service create --name cascade --description "cascade" cascade
Create the cascade service API endpoints:
$ openstack endpoint create --region RegionOne \ cascade public http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ cascade internal http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ cascade admin http://controller:XXXX/vY/%\(tenant_id\)s