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.
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:
uuid
with your environments value):rbd_user=cinder rbd_secret_uuid= bb90381e-a4c5-4db7-b410-3154c4af486e
# service openstack-nova-compute restart
# nova list # cinder list
# nova volume-attach 1cadffc0-58b0-43fd-acc4-33764a02a0a6 1337c866-6ff7-4a56-bfe5-b0b80abcb281 # cinder list
3.128.226.255