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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.