mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
Merge pull request #44348 from soumyakoduri/wip-skoduri-lc-teuthology
rgw/qa: Add test suite for lifecycle cases Reviewed-by: Matt Benjamin <mbenjami@redhat.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
a2d2ed2d8e
0
qa/suites/rgw/lifecycle/+
Normal file
0
qa/suites/rgw/lifecycle/+
Normal file
1
qa/suites/rgw/lifecycle/.qa
Symbolic link
1
qa/suites/rgw/lifecycle/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa
|
9
qa/suites/rgw/lifecycle/cluster.yaml
Normal file
9
qa/suites/rgw/lifecycle/cluster.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
roles:
|
||||
- [mon.a, osd.0, osd.1, osd.2, mgr.0, client.0]
|
||||
openstack:
|
||||
- volumes: # attached to each instance
|
||||
count: 1
|
||||
size: 10 # GB
|
||||
overrides:
|
||||
rgw:
|
||||
frontend: beast
|
14
qa/suites/rgw/lifecycle/overrides.yaml
Normal file
14
qa/suites/rgw/lifecycle/overrides.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
overrides:
|
||||
ceph:
|
||||
wait-for-scrub: false
|
||||
conf:
|
||||
client:
|
||||
setuser: ceph
|
||||
setgroup: ceph
|
||||
debug rgw: 20
|
||||
rgw crypt s3 kms backend: testing
|
||||
rgw crypt s3 kms encryption keys: testkey-1=YmluCmJvb3N0CmJvb3N0LWJ1aWxkCmNlcGguY29uZgo= testkey-2=aWIKTWFrZWZpbGUKbWFuCm91dApzcmMKVGVzdGluZwo=
|
||||
rgw crypt require ssl: false
|
||||
rgw lc debug interval: 10
|
||||
rgw:
|
||||
storage classes: LUKEWARM, FROZEN
|
1
qa/suites/rgw/lifecycle/supported-random-distro$
Symbolic link
1
qa/suites/rgw/lifecycle/supported-random-distro$
Symbolic link
@ -0,0 +1 @@
|
||||
.qa/distros/supported-random-distro$
|
20
qa/suites/rgw/lifecycle/tasks/rgw_s3tests.yaml
Normal file
20
qa/suites/rgw/lifecycle/tasks/rgw_s3tests.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
tasks:
|
||||
- install:
|
||||
- ceph:
|
||||
- rgw: [client.0]
|
||||
- s3tests:
|
||||
client.0:
|
||||
force-branch: ceph-master
|
||||
rgw_server: client.0
|
||||
storage classes: LUKEWARM, FROZEN
|
||||
extra_attrs: ["lifecycle"]
|
||||
lc_debug_interval: 10
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client:
|
||||
debug rgw: 20
|
||||
rgw lc debug interval: 10
|
||||
storage classes: LUKEWARM, FROZEN
|
||||
rgw:
|
||||
storage classes: LUKEWARM, FROZEN
|
@ -356,6 +356,14 @@ def configure(ctx, config):
|
||||
if slow_backend:
|
||||
s3tests_conf['fixtures']['slow backend'] = slow_backend
|
||||
|
||||
storage_classes = properties.get('storage classes')
|
||||
if storage_classes:
|
||||
s3tests_conf['s3 main']['storage_classes'] = storage_classes
|
||||
|
||||
lc_debug_interval = properties.get('lc_debug_interval')
|
||||
if lc_debug_interval:
|
||||
s3tests_conf['s3 main']['lc_debug_interval'] = lc_debug_interval
|
||||
|
||||
(remote,) = ctx.cluster.only(client).remotes.keys()
|
||||
remote.run(
|
||||
args=[
|
||||
|
Loading…
Reference in New Issue
Block a user