Verifying the Integration
Verifying the Integration of Glance and Ceph
- Run the following command on the controller node to create an image CentOS7-ceph:
1openstack image create "CentOS7-ceph" --file CentOS-7-aarch64-Custom.qcow2 --disk-format qcow2 --container-format bare --public
Upload a QCOW2 image file (for example, CentOS-7-aarch64-Custom.qcow2) from the local OpenStack environment.
- On the controller node, check the available images in OpenStack.
1openstack image list
- Run the following command to view images in the Ceph image pool:
1rbd ls images

Verifying the Integration of Cinder and Ceph
- Run the following command on the controller node to create an OpenStack volume named ceph_volume, and set the size to 10 GB:
1cinder create --name ceph_volume 10
- On the controller node, check the OpenStack and Ceph volume pool to confirm that the volume is created successfully and stored in Ceph.
1 2
openstack volume list rbd ls volumes

Verifying the Integration of cinder-backup and Ceph
- On the controller node, run the following command to create a backup_ceph_volume volume used as a backup for the ceph_volume created in the previous step:
1cinder backup-create --name backup_ceph_volume ceph_volume

- Run the following command on the controller node to view the Ceph backup pool:
1rbd ls backups

Verifying the Integration of Nova and Ceph
- Run the following commands on the controller node and list the available flavor and image resources:
1 2
openstack flavor list openstack image list

- Run the following command on the controller node to create a VM using existing resources:
1openstack server create --image 3f9f9cd4-aa56-42cd-86cc-04d52315cc25 --flavor m2.large testvm5

- Run the following command on the controller node. Check that the VM exists in OpenStack and Ceph after a while.
1 2
openstack server list rbd ls vms

Verifying the Integration of Swift and Ceph
- Run the following command on the controller node to check the storage buckets under the radosgw gateway:
1swift list
- Run the following command on the controller node to upload the local /var/log/messages file to the ceph_test bucket of the radosgw gateway:
1swift upload ceph_test /var/log/messages

- Check the objects in the radosgw gateway storage again. The ceph_test bucket is successfully created.
1swift list
- Check the files in the default data storage pool of Ceph RADOS. You can also view the uploaded var/log/messages file.
1rados -p default.rgw.buckets.data ls
