Mindmajix

OpenStack Image Service Overview and Installation

OpenStack Image Service

In this section regarding OpenStack Image Service, we will cover:

  • Installing OpenStack Image Service
  • Configuring OpenStack Image Service with MySQL
  • Configuring OpenStack Image Service with OpenStack Identity Service
  • Managing images with OpenStack Image Service
  • Registering a remotely stored image
  • Sharing images among tenants and
  • Viewing shared images

Introduction

The OpenStack image service (Glance) provides a service where users can upload and discover data assets that are meant to be used by other services. This currently includes images and metadata definitions. This service is central to Infrastructure-as-a-Service (IaaS). This service allows you to register, discover, and retrieve virtual machine images for usage in OpenStack environment. Images made available through the OpenStack Image Service can be stored in a variety of backend locations, from local filesystem storage to distributed file systems such as OpenStack Storage. 

If you have followed the steps mentioned in previous posts about the Keystone OpenStack Identity Service, then at the end of the concept we will have the following environment set up:

Screenshot_7

Installing OpenStack Image Service

Installation of latest OpenStack Image Service is simply achieved by using the packages provided from the Ubuntu Cloud Archive repositories which have been packaged for our Ubuntu 12.04 Linux installation.

Getting started

To begin with, ensure you’re logged into our OpenStack Controller host— where  an OpenStack Image Service will be installed.

To log on to our OpenStack Controller host that was created using Vagrant, issue the following command:

vagrant ssh controller

Ensure that our Ubuntu 12.04 LTS release is using the Ubuntu Cloud Archive that has the packages required for the Grizzly release.

How to achieve it…

Installation of OpenStack Image Service is very simple, using apt. It os shown as follows:

sudo apt-get update

sudo apt-get -y install glance

To install just the client which allows us to administer and use OpenStack Image Service without any need to log onto our server, we execute the following command:

sudo apt-get update

sudo apt-get -y install glance-client

How it works…

The Ubuntu Cloud Archive repositories have the latest supported version of OpenStack Image Service for our environment that we can use. To test the Image Service installation, download at least one virtual machine image that is known to work with OpenStack.

Still more…

 More information about the Ubuntu Cloud Archive can be found by visiting

 https:// wiki.ubuntu.com/ ServerTeam/ CloudArchive .

This explains the release process and the ability to use the latest releases of OpenStack— where new versions are released every 6 months— on a long term supported release of Ubuntu that gets released every 2 years.

Using an alternative release

If you wish to optionally deviate from stable releases, it is appropriate when you are helping develop or debug OpenStack, or require functionality that is not available in the current release. To enable different releases, you add different Personal Package Archives (PPA) to your system. To view the OpenStack PPAs, visit http:// wiki.openstack.org/ PPAs . To use them, we first install a prerequisite tool that allows us to easily add PPAs to our system, as follows:

sudo apt-get update

sudo apt-get -y install python-software-properties

To use a particular release of PPA, for example, Havana trunk testing, we issue the following command:

sudo add-apt-repository ppa:openstack-ubuntu-testing/ havana-trunk-testing

sudo add-apt-repository ppa:openstack-ubuntu-testing/ havana-trunk-testing

Enroll for Instructor Led Online OpenStack Training


 

0 Responses on OpenStack Image Service Overview and Installation"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.