From: Sage Weil Date: Mon, 25 Jan 2021 15:19:01 +0000 (-0600) Subject: qa/suites/rados/cephadm/thrash: add cephadm thrashing test X-Git-Tag: v16.2.0~213^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39309%2Fhead;p=ceph.git qa/suites/rados/cephadm/thrash: add cephadm thrashing test Signed-off-by: Sage Weil (cherry picked from commit cc6412c99127c05dda639ff753cb1102bdb995bb) --- diff --git a/qa/suites/rados/cephadm/thrash/% b/qa/suites/rados/cephadm/thrash/% new file mode 100644 index 00000000000..e69de29bb2d diff --git a/qa/suites/rados/cephadm/thrash/.qa b/qa/suites/rados/cephadm/thrash/.qa new file mode 120000 index 00000000000..fea2489fdf6 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/.qa @@ -0,0 +1 @@ +../.qa \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/.qa b/qa/suites/rados/cephadm/thrash/0-distro/.qa new file mode 120000 index 00000000000..fea2489fdf6 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/.qa @@ -0,0 +1 @@ +../.qa \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/centos_8.0.yaml b/qa/suites/rados/cephadm/thrash/0-distro/centos_8.0.yaml new file mode 120000 index 00000000000..f07a2bd87bd --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/centos_8.0.yaml @@ -0,0 +1 @@ +.qa/distros/all/centos_8.0.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/centos_latest.yaml b/qa/suites/rados/cephadm/thrash/0-distro/centos_latest.yaml new file mode 120000 index 00000000000..bd9854e7029 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/centos_latest.yaml @@ -0,0 +1 @@ +.qa/distros/supported/centos_latest.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/rhel_latest.yaml b/qa/suites/rados/cephadm/thrash/0-distro/rhel_latest.yaml new file mode 120000 index 00000000000..be3103a3362 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/rhel_latest.yaml @@ -0,0 +1 @@ +.qa/distros/supported/rhel_latest.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_18.04.yaml b/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_18.04.yaml new file mode 120000 index 00000000000..cfb85f10ef5 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_18.04.yaml @@ -0,0 +1 @@ +.qa/distros/all/ubuntu_18.04.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_20.04.yaml b/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_20.04.yaml new file mode 120000 index 00000000000..162964882d3 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/0-distro/ubuntu_20.04.yaml @@ -0,0 +1 @@ +.qa/distros/all/ubuntu_20.04.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/1-start.yaml b/qa/suites/rados/cephadm/thrash/1-start.yaml new file mode 100644 index 00000000000..a1b89e44db8 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/1-start.yaml @@ -0,0 +1,7 @@ +tasks: +- install: +- cephadm: + conf: + mgr: + debug ms: 1 + debug mgr: 20 diff --git a/qa/suites/rados/cephadm/thrash/2-thrash.yaml b/qa/suites/rados/cephadm/thrash/2-thrash.yaml new file mode 100644 index 00000000000..05e0f8e76d1 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/2-thrash.yaml @@ -0,0 +1,26 @@ +overrides: + ceph: + log-ignorelist: + - but it is still running + - objects unfound and apparently lost + conf: + osd: + osd debug reject backfill probability: .3 + osd scrub min interval: 60 + osd scrub max interval: 120 + osd max backfills: 3 + osd snap trim sleep: 2 + osd delete sleep: 1 + mon: + mon min osdmap epochs: 50 + paxos service trim min: 10 + # prune full osdmaps regularly + mon osdmap full prune min: 15 + mon osdmap full prune interval: 2 + mon osdmap full prune txsize: 2 +tasks: +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 1 + chance_pgnum_shrink: 1 + chance_pgpnum_fix: 1 diff --git a/qa/suites/rados/cephadm/thrash/3-tasks.yaml/.qa b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/.qa new file mode 120000 index 00000000000..a602a0353e7 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/3-tasks.yaml/radosbench.yaml b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/radosbench.yaml new file mode 120000 index 00000000000..1e20917d880 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/radosbench.yaml @@ -0,0 +1 @@ +../../../thrash/workloads/radosbench.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/3-tasks.yaml/small-objects.yaml b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/small-objects.yaml new file mode 120000 index 00000000000..8dbb9cd2351 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/small-objects.yaml @@ -0,0 +1 @@ +../../../thrash/workloads/small-objects.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/3-tasks.yaml/snaps-few-objects.yaml b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/snaps-few-objects.yaml new file mode 120000 index 00000000000..9ee934490b1 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/3-tasks.yaml/snaps-few-objects.yaml @@ -0,0 +1 @@ +../../../thrash/workloads/snaps-few-objects.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/fixed-2.yaml b/qa/suites/rados/cephadm/thrash/fixed-2.yaml new file mode 120000 index 00000000000..5c3e0593cbc --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/fixed-2.yaml @@ -0,0 +1 @@ +../smoke/fixed-2.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/msgr b/qa/suites/rados/cephadm/thrash/msgr new file mode 120000 index 00000000000..57bee80db00 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/msgr @@ -0,0 +1 @@ +.qa/msgr \ No newline at end of file diff --git a/qa/suites/rados/cephadm/thrash/root.yaml b/qa/suites/rados/cephadm/thrash/root.yaml new file mode 100644 index 00000000000..bedb31d5d67 --- /dev/null +++ b/qa/suites/rados/cephadm/thrash/root.yaml @@ -0,0 +1,3 @@ +overrides: + cephadm: + cephadm_mode: root