File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ansible/roles/cinder/templates Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,12 +163,12 @@ target_protocol = iscsi
163
163
[{{ backend.name }}]
164
164
volume_driver = cinder.volume.drivers.rbd.RBDDriver
165
165
volume_backend_name = {{ backend.name }}
166
- rbd_pool = {{ ceph_cinder_pool_name }}
166
+ rbd_pool = {{ backend.pool | default( ceph_cinder_pool_name) }}
167
167
rbd_ceph_conf = /etc/ceph/{{ backend.cluster }}.conf
168
168
rados_connect_timeout = 5
169
- rbd_user = {{ ceph_cinder_user }}
169
+ rbd_user = {{ backend.user | default( ceph_cinder_user) }}
170
170
rbd_cluster_name = {{ backend.cluster }}
171
- rbd_keyring_conf = /etc/ceph/{{ backend.cluster }}.{{ ceph_cinder_keyring }}
171
+ rbd_keyring_conf = /etc/ceph/{{ backend.cluster }}.{{ ('client.' + backend.user + '.keyring') if backend.user is defined else ceph_cinder_keyring }}
172
172
rbd_secret_uuid = {{ cinder_rbd_secret_uuid }}
173
173
report_discard_supported = True
174
174
{% if backend .availability_zone is defined %}
You can’t perform that action at this time.
0 commit comments