How to do it...

To install, configure, create new projects, user roles, and credentials, perform the following steps in the order presented here:

  1. Create the keystone database and grant permissions to the keystone user:
root@controller:~# mysql -u root -plxcpasswordMariaDB [(none)]> CREATE DATABASE keystone;Query OK, 1 row affected (0.01 sec)MariaDB [(none)]> GRANT ALL PRIVILEGES ON keystone.* TO'keystone'@'localhost' IDENTIFIED BY 'lxcpassword';Query OK, 0 rows affected (0.00 sec)MariaDB [(none)]> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'lxcpassword';Query OK, 0 rows affected (0.01 sec)MariaDB [(none)]> exitByeroot@controller:~#
  1. Install the identity service Keystone from the repository we configured earlier: ...

Get KVM Virtualization Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.