]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/thrash/d-balancer: add read and upmap-read modes to balancer testing
authorLaura Flores <lflores@ibm.com>
Wed, 3 Jan 2024 20:52:00 +0000 (20:52 +0000)
committerLaura Flores <lflores@ibm.com>
Sun, 28 Jan 2024 19:15:49 +0000 (13:15 -0600)
Here, we turn the balancer mgr module to read and upmap read mode
during various thrashing scenarios.

Signed-off-by: Laura Flores <lflores@ibm.com>
qa/suites/rados/thrash/d-balancer/read.yaml [new file with mode: 0644]
qa/suites/rados/thrash/d-balancer/upmap-read.yaml [new file with mode: 0644]

diff --git a/qa/suites/rados/thrash/d-balancer/read.yaml b/qa/suites/rados/thrash/d-balancer/read.yaml
new file mode 100644 (file)
index 0000000..4a6194a
--- /dev/null
@@ -0,0 +1,10 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph config set mgr mgr/balancer/log_level debug
+      - ceph balancer status
+      - ceph osd set-require-min-compat-client reef
+      - ceph balancer mode read
+      - ceph balancer on
+      - ceph balancer status
+      - ceph balancer status detail
diff --git a/qa/suites/rados/thrash/d-balancer/upmap-read.yaml b/qa/suites/rados/thrash/d-balancer/upmap-read.yaml
new file mode 100644 (file)
index 0000000..b425105
--- /dev/null
@@ -0,0 +1,10 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph config set mgr mgr/balancer/log_level debug
+      - ceph balancer status
+      - ceph osd set-require-min-compat-client reef
+      - ceph balancer mode upmap-read
+      - ceph balancer on
+      - ceph balancer status
+      - ceph balancer status detail