]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/cephadm/thrash: add cephadm thrashing test 39309/head
authorSage Weil <sage@newdream.net>
Mon, 25 Jan 2021 15:19:01 +0000 (09:19 -0600)
committerSage Weil <sage@newdream.net>
Thu, 4 Feb 2021 19:02:33 +0000 (13:02 -0600)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit cc6412c99127c05dda639ff753cb1102bdb995bb)

17 files changed:
qa/suites/rados/cephadm/thrash/% [new file with mode: 0644]
qa/suites/rados/cephadm/thrash/.qa [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/.qa [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/centos_8.0.yaml [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/centos_latest.yaml [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/rhel_latest.yaml [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/ubuntu_18.04.yaml [new symlink]
qa/suites/rados/cephadm/thrash/0-distro/ubuntu_20.04.yaml [new symlink]
qa/suites/rados/cephadm/thrash/1-start.yaml [new file with mode: 0644]
qa/suites/rados/cephadm/thrash/2-thrash.yaml [new file with mode: 0644]
qa/suites/rados/cephadm/thrash/3-tasks.yaml/.qa [new symlink]
qa/suites/rados/cephadm/thrash/3-tasks.yaml/radosbench.yaml [new symlink]
qa/suites/rados/cephadm/thrash/3-tasks.yaml/small-objects.yaml [new symlink]
qa/suites/rados/cephadm/thrash/3-tasks.yaml/snaps-few-objects.yaml [new symlink]
qa/suites/rados/cephadm/thrash/fixed-2.yaml [new symlink]
qa/suites/rados/cephadm/thrash/msgr [new symlink]
qa/suites/rados/cephadm/thrash/root.yaml [new file with mode: 0644]

diff --git a/qa/suites/rados/cephadm/thrash/% b/qa/suites/rados/cephadm/thrash/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rados/cephadm/thrash/.qa b/qa/suites/rados/cephadm/thrash/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -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 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -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 (symlink)
index 0000000..f07a2bd
--- /dev/null
@@ -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 (symlink)
index 0000000..bd9854e
--- /dev/null
@@ -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 (symlink)
index 0000000..be3103a
--- /dev/null
@@ -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 (symlink)
index 0000000..cfb85f1
--- /dev/null
@@ -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 (symlink)
index 0000000..1629648
--- /dev/null
@@ -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 (file)
index 0000000..a1b89e4
--- /dev/null
@@ -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 (file)
index 0000000..05e0f8e
--- /dev/null
@@ -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 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -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 (symlink)
index 0000000..1e20917
--- /dev/null
@@ -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 (symlink)
index 0000000..8dbb9cd
--- /dev/null
@@ -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 (symlink)
index 0000000..9ee9344
--- /dev/null
@@ -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 (symlink)
index 0000000..5c3e059
--- /dev/null
@@ -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 (symlink)
index 0000000..57bee80
--- /dev/null
@@ -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 (file)
index 0000000..bedb31d
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  cephadm:
+    cephadm_mode: root