Add default volume_backend_name for rbd driver in cinder volume

volume_backend_name is required when using volume type.

Change-Id: Idab2ab98dea4940ba9404b219dbed935db0d51ed
Closes-Bug: #1705657
(cherry picked from commit 2352f99863)
This commit is contained in:
Jeffrey Zhang 2017-07-21 16:25:07 +08:00
parent b19c28cc2e
commit 1e29f699e9
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ iscsi_protocol = iscsi
{% if enable_ceph | bool and cinder_backend_ceph | bool %}
[rbd-1]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
volume_backend_name = rbd-1
rbd_pool = {{ ceph_cinder_pool_name }}
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false