The Image service in the OpenStack environment is responsible for helping users discover, register, and retrieve images of virtual machines. A REST API is provided for users to query the metadata of virtual machines so as to retrieve the actual image. Virtual machine images can be stored in various locations, from filesystems to the Object Storage service offered by OpenStack.
We will discuss how to install and configure the Image service on the controller node. As part of this exercise, we will store the images of the virtual machine on local filesystem storage.
We need to create database, credentials, and API endpoints so that we can install and configure the Image service.
Here are the steps to create a database:
Connect to the database server as root user:
mysql -u root –p
Create a new database named
glance
using the following command:CREATE DATABASE glance;
Grant all the required access to the newly...