File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
hooks/playbooks/templates Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,28 @@ patches:
6565 backend_host=hostgroup
6666 rbd_secret_uuid={{ cifmw_ceph_fsid }}
6767
68+ {% if cifmw_hci_second_backend | default ('false' ) | bool -%}
69+ - op: add
70+ path: /spec/cinder/template/cinderVolumes/volume2
71+ value:
72+ customServiceConfig: |
73+ [DEFAULT]
74+ enabled_backends=ceph2
75+ [ceph2]
76+ volume_backend_name=ceph
77+ volume_driver=cinder.volume.drivers.rbd.RBDDriver
78+ rbd_ceph_conf=/etc/ceph/ceph.conf
79+ rbd_user=openstack
80+ rbd_pool=volumes
81+ rbd_flatten_volume_from_snapshot=False
82+ report_discard_supported=True
83+ backend_host=hostgroup
84+ rbd_secret_uuid={{ cifmw_ceph_fsid }}
85+ networkAttachments:
86+ - storage
87+ replicas: 1
88+ {% endif %}
89+
6890 - op: replace
6991 path: /spec/glance/template/glanceAPIs/default/replicas
7092 value: {{ cifmw_services_glance_apis_replicas | default(1) }}
You can’t perform that action at this time.
0 commit comments