O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required