-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Production Ready OpenStack - Recipes for Successful Environments
By :

If Swift Object Storage is in place, Glance can use the existing Swift cluster as a datastore to store virtual machine images. In this recipe, we will configure the Glance backend driver for swift object storage.
Before configuring Glance Swift backend, we need to make sure that the Database, message broker and Keystone are set for Glance, and both glance-api.conf
and glance-registry.conf
are configured correctly to use them.
It is recommended to make sure that the configuration option filesystem_store_datadir
in glance-api.conf
is commented out, as it should not be called when filesystem driver is not used.
Follow these steps to configure Glance with the Swift backend:
Using the openstack-config
command, edit the glance-api
configuration file which is under default section and set default_store
to swift:
default_store = swift
Make sure that the stores option includes swift store under glance_store
section as follows...
Change the font size
Change margin width
Change background colour