cinder-volume: rbd driver set backend_host value
Closes-Bug #1807384 Change-Id: I59d7dd0c3ab9a8ae68dc8438866b158abfbad9a9
This commit is contained in:
parent
89c7b4eee4
commit
8b86eb7a9d
|
@ -93,6 +93,9 @@ enabled_backends={% for backend in cinder_backends|dictsort %}{{ backend.0 }}{%
|
|||
{% for backend_section in cinder_backends|dictsort %}
|
||||
[{{ backend_section.0 }}]
|
||||
{% for key, value in (backend_section.1 | dictsort) if key not in ['extra_volume_types', 'shares'] %}
|
||||
{% if key == "volume_driver" and value == "cinder.volume.drivers.rbd.RBDDriver" %}
|
||||
backend_host="rbd:volumes"
|
||||
{% endif %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue