我要评分
获取效率
正确性
完整性
易理解

Verifying the Integration

Verifying the Integration of Glance and Ceph

  1. Run the following command on the controller node to create an image CentOS7-ceph:
    1
    openstack 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.

  2. On the controller node, check the available images in OpenStack.
    1
    openstack image list
    
  3. Run the following command to view images in the Ceph image pool:
    1
    rbd ls images
    

Verifying the Integration of Cinder and Ceph

  1. Run the following command on the controller node to create an OpenStack volume named ceph_volume, and set the size to 10 GB:
    1
    cinder create --name ceph_volume 10
    
  2. 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

  1. 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:
    1
    cinder backup-create --name backup_ceph_volume ceph_volume
    

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

Verifying the Integration of Nova and Ceph

  1. Run the following commands on the controller node and list the available flavor and image resources:
    1
    2
    openstack flavor list
    openstack image list
    

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

  3. 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

  1. Run the following command on the controller node to check the storage buckets under the radosgw gateway:
    1
    swift list
    

  2. 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:
    1
    swift upload ceph_test /var/log/messages
    

  3. Check the objects in the radosgw gateway storage again. The ceph_test bucket is successfully created.
    1
    swift list
    

  4. Check the files in the default data storage pool of Ceph RADOS. You can also view the uploaded var/log/messages file.
    1
    rados -p default.rgw.buckets.data ls