]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/jewel-x/: set up compat weight-set after cluster upgrade
authorSage Weil <sage@redhat.com>
Sat, 21 Oct 2017 03:52:45 +0000 (22:52 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 22:19:25 +0000 (17:19 -0500)
...but before we run some client workloads.  This will hopefully ensure
that older clients will behave.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/upgrade/jewel-x/parallel/6.5-crush-compat.yaml [new file with mode: 0644]
qa/suites/upgrade/jewel-x/stress-split/6.5-crush-compat.yaml [new symlink]

diff --git a/qa/suites/upgrade/jewel-x/parallel/6.5-crush-compat.yaml b/qa/suites/upgrade/jewel-x/parallel/6.5-crush-compat.yaml
new file mode 100644 (file)
index 0000000..f8aabb8
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph osd crush set-all-straw-buckets-to-straw2
+      - ceph osd crush weight-set create-compat
+      - ceph osd crush weight-set reweight-compat osd.0 .9
+      - ceph osd crush weight-set reweight-compat osd.1 1.2
diff --git a/qa/suites/upgrade/jewel-x/stress-split/6.5-crush-compat.yaml b/qa/suites/upgrade/jewel-x/stress-split/6.5-crush-compat.yaml
new file mode 120000 (symlink)
index 0000000..02263d1
--- /dev/null
@@ -0,0 +1 @@
+../parallel/6.5-crush-compat.yaml
\ No newline at end of file