
Production Ready OpenStack - Recipes for Successful Environments
By :

Glance can use the existing Ceph pools as a datastore to store virtual machine images. In this recipe, we will configure the Glance backend driver for the Ceph RADOS Block Device.
Before configuring Glance to use the Ceph RBD 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. We also need to make sure that a Ceph volume with a corresponding pool for glance was created, and the ceph.conf
and key.ring
files were preconfigured.
The CephFS Python
package is also required to use the Ceph RBD backend driver:
[root@controller ~]# yum install -y python-cephfs
Follow these steps to configure Glance with the Ceph storage backend:
Using the openstack-config
command, edit the glance-api
configuration file, and under the default section, set default_store
to rdb
:
[root@controller ~]# openstack-config ...
Change the font size
Change margin width
Change background colour