In order to boot all OpenStack instances into Ceph, that is, for the boot-from-volume feature, we should configure an ephemeral backend for Nova. To do this, edit /etc/nova/nova.conf on the OpenStack node and perform the following changes.
Configuring Nova to boot instances from Ceph RBD
How to do it…
This recipe deals with configuring Nova to store the entire virtual machines on the Ceph RBD:
- 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
- Verify your changes:
# cat /etc/nova/nova.conf...