The Identity service is responsible for the following functions in an OpenStack setup:
Tracking users and their permissions
Providing a list of services with their API URLs
When we are installing the OpenStack Identity service, we must register all other services in our OpenStack system. It helps the Identity service keep track of all services that are installed and where they are present on the network.
We will install the Identity service on the controller node in our setup.
First, we have to create a database and an administrative token. Follow these steps to create a database:
We have an access client for the database, so we will connect to the database server as user root:
mysql –u root –p
Create a new database called
keystone
:CREATE DATABASE keystone;
Give access to the
keystone
database:GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ IDENTIFIED BY 'PASSWORD'; GRANT ALL PRIVILEGES...