How to do it…

This recipe talks about configuring the Glance component of OpenStack to store virtual machine images on Ceph RBD:

  1. Log in to os-node1, which is our Glance node, and edit /etc/glance/glance-api.conf for the following changes:
    1. Under the [DEFAULT] section, make sure that the following lines are present:
                default_store=rbd                show_image_direct_url=True
    1. Execute the following command to verify entries:
                # cat /etc/glance/glance-api.conf |                 egrep -i "default_store|image_direct"
    1. Under the [glance_store] section, make sure that the following lines are present under RBD store options:
              stores = rbd rbd_store_ceph_conf=/etc/ceph/ceph.conf ...

Get Ceph Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.