Integrating Block Storage
To integrate Ceph block storage on OpenStack, you need to perform the operations on the Ceph storage node.
- Update the PG status of the Object Storage Device (OSD) to active+clean.
ceph osd getcrushmap -o /etc/ceph/crushmap crushtool -d /etc/ceph/crushmap -o /etc/ceph/crushmap.txt sed -i 's/step chooseleaf firstn 0 type host/step chooseleaf firstn 0 type osd/' /etc/ceph/crushmap.txt grep 'step chooseleaf' /etc/ceph/crushmap.txt crushtool -c /etc/ceph/crushmap.txt -o /etc/ceph/crushmap-new ceph osd setcrushmap -i /etc/ceph/crushmap-new
- On the Ceph storage node, enable Ceph OSD pools.
ceph osd pool application enable volumes rbd ceph osd pool application enable vms rbd ceph osd pool application enable images rbd ceph osd pool application enable backups rbd
- On the OpenStack node that integrates Ceph storage, check whether Ceph is successfully configured.
ceph -s
An example of the expected result:

Parent topic: Integrating Ceph Block Storage with OpenStack