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 deals with configuring Nova to store the entire virtual machines on the Ceph RBD:

  1. Navigate to the [libvirt] section and add the following:
        inject_partition=-2        images_type=rbd        images_rbd_pool=vms        images_rbd_ceph_conf=/etc/ceph/ceph.conf        rbd_user=cinder        rbd_secret_uuid= e279566e-bc97-46d0-bd90-68080a2a0ad8
  1. Verify your changes:
        # cat /etc/nova/nova.conf|egrep "rbd|partition" | grep -v "#"
  1. Restart the OpenStack Nova services:
        # service openstack-nova-compute restart
  1. To boot a virtual machine in Ceph, the Glance image format must be RAW. We will use the same cirros image that we downloaded earlier in this chapter ...

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