]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/thrash/d-balancer: enable balancer in various modes
authorSage Weil <sage@redhat.com>
Sun, 1 Oct 2017 21:00:06 +0000 (16:00 -0500)
committerSage Weil <sage@redhat.com>
Wed, 1 Nov 2017 12:28:49 +0000 (07:28 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/rados/thrash/d-balancer/crush-compat.yaml [new file with mode: 0644]
qa/suites/rados/thrash/d-balancer/off.yaml [new file with mode: 0644]
qa/suites/rados/thrash/d-balancer/upmap.yaml [new file with mode: 0644]

diff --git a/qa/suites/rados/thrash/d-balancer/crush-compat.yaml b/qa/suites/rados/thrash/d-balancer/crush-compat.yaml
new file mode 100644 (file)
index 0000000..4206e9a
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph mgr module enable balancer
+      - while ! ceph balancer status ; do sleep 1 ; done
+      - ceph balancer mode crush-compat
+      - ceph balancer on
diff --git a/qa/suites/rados/thrash/d-balancer/off.yaml b/qa/suites/rados/thrash/d-balancer/off.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rados/thrash/d-balancer/upmap.yaml b/qa/suites/rados/thrash/d-balancer/upmap.yaml
new file mode 100644 (file)
index 0000000..a6382d1
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph mgr module enable balancer
+      - while ! ceph balancer status ; do sleep 1 ; done
+      - ceph balancer mode upmap
+      - ceph balancer on