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-registry.conf are configured correctly to use them.
Follow these steps to configure Glance with the Swift backend:
openstack-configcommand, edit the
glance-apiconfiguration file which is under default section and set
default_store = swift
Make sure that the stores option includes swift store under
glance_storesection as follows...