Installing and configuring the OpenStack Glance image service
The Glance image service provides an API that we can use to discover, register, and obtain images for virtual machines. When we later use Nova compute to build a new KVM instance, the Nova service will send a request to Glance to obtain the requested image type.
In this recipe, we are going to install Glance and register a new Ubuntu image.
Getting ready
For this recipe, we are going to need the following things:
- An Ubuntu server with great virtualization capabilities
- Access to the internet for package installation
- A database server, a message queue, and
memcached
installed and configured, as described in thePreparing the host for the OpenStack deploymentrecipe - The Keystone service we deployed in the Installing and configuring the OpenStack Keystone identity service recipe
How to do it...
To install, configure, and register an image with Glance, follow the steps outlined here:
- Create the Glance database and user:
root@controller:~# mysql ...