Skip to content

Commit 63fb947

Browse files
Maxim Savamaximsava12
authored andcommitted
Switch uni-delta job to use S3 API from Ceph
Glance/RBD is already covered by uni-gamma, so uni-delta jobs could be changed to test glance/S3 instead, using the S3 API provided by ceph. - Updated uni04delta job architecture accordingly. https://issues.redhat.com/browse/OSPRH-11411
1 parent feaa133 commit 63fb947

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

examples/dt/uni04delta/control-plane/service-values.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,18 @@ data:
7070
glance:
7171
customServiceConfig: |
7272
[DEFAULT]
73-
debug = True
74-
enabled_backends = default_backend:rbd
75-
73+
debug=True
74+
enabled_backends = default_backend:s3
7675
[glance_store]
7776
default_backend = default_backend
78-
7977
[default_backend]
80-
rbd_store_ceph_conf = /etc/ceph/ceph.conf
81-
store_description = "RBD backend"
82-
rbd_store_pool = images
83-
rbd_store_user = openstack
78+
s3_store_create_bucket_on_put = True
79+
s3_store_bucket_url_format = "path"
8480
glanceAPIs:
8581
default:
8682
replicas: 3
83+
customServiceConfigSecrets:
84+
- s3glance
8785

8886
manila:
8987
enabled: true

examples/dt/uni04delta/kustomization.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ resources:
99
- control-plane/networking/nncp/values.yaml
1010
- control-plane/service-values.yaml
1111
- values.yaml
12+
13+
replacements:
14+
# Glance
15+
- source:
16+
kind: ConfigMap
17+
name: service-values
18+
fieldPath: data.glance.glanceAPIs.default.customServiceConfigSecrets
19+
targets:
20+
- select:
21+
kind: OpenStackControlPlane
22+
fieldPaths:
23+
- spec.glance.template.glanceAPIs.default.customServiceConfigSecrets
24+
options:
25+
create: true

0 commit comments

Comments
 (0)