We start by creating the Glance database in MariaDB in step 1.
In steps 2 and 3, we create the user, role, and service for the Glance project. In step 4, we define the Glance API service endpoints in Keystone. The Nova service and the OpenStack tool can use these endpoints to query Glance for available images.
In step 5, we install the Glance package and create a minimal configuration file in step 6.
We then create the database schemas in step 7, by executing the glance-manage Python script and restart the Glance service in step 8.
In step 9, we download a QCOW2 Ubuntu image and add it to the glance registry in step 10.
Finally, in step 11, we list the newly added image and examine it on the host filesystem.