Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

The Image service


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.

Installing and configuring the Image service

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.

Configuring the prerequisites

We need to create database, credentials, and API endpoints so that we can install and configure the Image service.

  1. Here are the steps to create a database:

    1. Connect to the database server as root user:

      mysql -u root –p
      
    2. Create a new database named glance using the following command:

      CREATE DATABASE glance;
      
    3. Grant all the required access to the newly...