In order to attach the Ceph RBD to OpenStack instances, we should configure the Nova component of OpenStack by adding the RBD user and UUID information that it needs to connect to the Ceph cluster. To do this, we need to edit /etc/nova/nova.conf on the OpenStack node and perform the steps that are given in the following section.
Configuring Nova to attach Ceph RBD
How to do it...
The Cinder service that we configured in the last recipe creates volumes on Ceph, however, to attach these volumes to OpenStack instances, we need to configure Nova:
- We have already configured the following options to enable volume attachment:
rbd_user=cinder
rbd_secret_uuid= e279566e-bc97-46d0-bd90-68080a2a0ad8
- To test this configuration...