2.0 KiB
2.0 KiB
Prerequisites
Before you install and configure the fenixclient 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
root
user:$ mysql -u root -p
Create the
fenixclient
database:CREATE DATABASE fenixclient;
Grant proper access to the
fenixclient
database:GRANT ALL PRIVILEGES ON fenixclient.* TO 'fenixclient'@'localhost' \ IDENTIFIED BY 'FENIXCLIENT_DBPASS'; GRANT ALL PRIVILEGES ON fenixclient.* TO 'fenixclient'@'%' \ IDENTIFIED BY 'FENIXCLIENT_DBPASS';
Replace
FENIXCLIENT_DBPASS
with a suitable password.Exit the database access client.
exit;
Source the
admin
credentials to gain access to admin-only CLI commands:$ . admin-openrc
To create the service credentials, complete these steps:
Create the
fenixclient
user:$ openstack user create --domain default --password-prompt fenixclient
Add the
admin
role to thefenixclient
user:$ openstack role add --project service --user fenixclient admin
Create the fenixclient service entities:
$ openstack service create --name fenixclient --description "fenixclient" fenixclient
Create the fenixclient service API endpoints:
$ openstack endpoint create --region RegionOne \ fenixclient public http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ fenixclient internal http://controller:XXXX/vY/%\(tenant_id\)s $ openstack endpoint create --region RegionOne \ fenixclient admin http://controller:XXXX/vY/%\(tenant_id\)s