Skip to content

Commit d034fec

Browse files
committed
qa: Restrict rados api tests to large clusters and increase timeout
Running these tests with thrashers on small clusters leads to many very slow ops due to the cluster being overloaded. That has a tendency to make some of the API tests timeout and fail. Fixes: https://tracker.ceph.com/issues/50371 Signed-off-by: Brad Hubbard <[email protected]>
1 parent 91d4896 commit d034fec

File tree

9 files changed

+19
-3
lines changed

9 files changed

+19
-3
lines changed

qa/clusters/2-node-mgr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 2
12
roles:
23
- [mgr.x, mon.a, mon.c, mds.a, mds.c, osd.0, client.0]
34
- [mgr.y, mgr.z, mon.b, mds.b, osd.1, osd.2, osd.3, client.1]

qa/clusters/extra-client.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 2
12
roles:
23
- [mon.a, mon.c, osd.0, osd.1, osd.2]
34
- [mon.b, mgr.x, mds.a, osd.3, osd.4, osd.5]
@@ -11,4 +12,4 @@ overrides:
1112
ceph:
1213
conf:
1314
osd:
14-
osd shutdown pgref assert: true
15+
osd shutdown pgref assert: true

qa/clusters/fixed-1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 1
12
overrides:
23
ceph-deploy:
34
conf:

qa/clusters/fixed-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 2
12
roles:
23
- [mon.a, mon.c, mgr.y, osd.0, osd.1, osd.2, osd.3, client.0, node-exporter.a]
34
- [mon.b, mgr.x, osd.4, osd.5, osd.6, osd.7, client.1, prometheus.a, node-exporter.b]

qa/clusters/fixed-3-cephfs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 2
12
roles:
23
- [mon.a, mds.a, mgr.x, osd.0, osd.1]
34
- [mon.b, mds.b, mon.c, mgr.y, osd.2, osd.3]

qa/clusters/fixed-3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 2
12
roles:
23
- [mon.a, mon.c, mgr.x, osd.0, osd.1, osd.2, osd.3]
34
- [mon.b, mgr.y, osd.4, osd.5, osd.6, osd.7]

qa/clusters/fixed-4.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clusternodes: 4
12
roles:
23
- [mon.a, mgr.y, osd.0, osd.4, osd.8, osd.12]
34
- [mon.b, osd.1, osd.5, osd.9, osd.13]
@@ -11,4 +12,4 @@ overrides:
1112
ceph:
1213
conf:
1314
osd:
14-
osd shutdown pgref assert: true
15+
osd shutdown pgref assert: true

qa/suites/rados/thrash/workloads/rados_api_tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
teuthology:
2+
postmerge:
3+
# Don't run this test on tiny clusters
4+
- if yaml.clusternodes < 4 then reject() end
15
overrides:
26
ceph:
37
log-ignorelist:
@@ -16,6 +20,7 @@ overrides:
1620
osd:
1721
osd class load list: "*"
1822
osd class default list: "*"
23+
osd client watch timeout: 240
1924
tasks:
2025
- workunit:
2126
clients:

qa/suites/rados/verify/tasks/rados_api_tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
teuthology:
2+
postmerge:
3+
# Don't run this test on tiny clusters
4+
- if yaml.clusternodes < 4 then reject() end
15
overrides:
26
ceph:
37
log-ignorelist:
@@ -23,7 +27,7 @@ overrides:
2327
osd:
2428
osd class load list: "*"
2529
osd class default list: "*"
26-
osd client watch timeout: 120
30+
osd client watch timeout: 240
2731
tasks:
2832
- workunit:
2933
timeout: 6h

0 commit comments

Comments
 (0)