Cinder 添加后端

修改/etc/cinder/cinder.conf配置文件
enabled_backends=ceph,lvm
文件最后添加[ceph]字段
[ceph]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false
rbd_max_clone_depth = 5
glance_api_version = 2
rbd_user = cinder
rbd_secret_uuid = 6d11e348-5f55-4a70-883a-1d7580aec6c7
volume_backend_name=ceph


创建后端
[root@host]# cinder type-create ceph
[root@host]# cinder type-key ceph set volume_backend_name=ceph 


重启服务
systemctl restart openstack-cinder-volume.service 

你可能感兴趣的:(OpenStack)