Skip to content

Commit 91f5fd7

Browse files
committed
[WIP] Add second cinder volume to ceph
1 parent 57229bb commit 91f5fd7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

ci/scenarios/ceph.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,36 @@ post_deploy:
3636

3737
# jgilaber: override hook defined in ci-framework that we don't need
3838
pre_tests: []
39+
40+
cifmw_edpm_prepare_extra_kustomizations:
41+
- apiVersion: kustomize.config.k8s.io/v1beta1
42+
kind: Kustomization
43+
patches:
44+
- patch: |-
45+
apiVersion: core.openstack.org/v1beta1
46+
kind: OpenStackControlPlane
47+
metadata:
48+
name: controlplane
49+
spec:
50+
cinder:
51+
template:
52+
cinderVolumes:
53+
volume2:
54+
customServiceConfig: |
55+
[DEFAULT]
56+
enabled_backends=ceph
57+
[ceph]
58+
volume_backend_name=ceph
59+
volume_driver=cinder.volume.drivers.rbd.RBDDriver
60+
rbd_ceph_conf=/etc/ceph/ceph.conf
61+
rbd_user=openstack
62+
rbd_pool=volumes
63+
rbd_flatten_volume_from_snapshot=False
64+
report_discard_supported=True
65+
backend_host=hostgroup
66+
rbd_secret_uuid=400168b3-90c9-5bdd-bbed-ddfac8e06ae8
67+
networkAttachments:
68+
- storage
69+
replicas: 1
70+
target:
71+
kind: OpenStackControlPlane

0 commit comments

Comments
 (0)