]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/jewel-x/parallel: thrash layout
authorSage Weil <sage@redhat.com>
Wed, 9 Aug 2017 20:40:43 +0000 (16:40 -0400)
committerSage Weil <sage@redhat.com>
Thu, 10 Aug 2017 13:32:37 +0000 (09:32 -0400)
We can't kill and restart osds because that will interfere with
the upgrade process.  We can, however, thrash the layout by
tweaking osd weights and so on.  This will exercise osd recovery
paths during the upgrade that aren't normally exercised (outside
of stress-split..which doesn't upgrade individual osds while they
are non-clean).

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 435777dbffc77c93d06476caf83be141359a5778)

qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml
qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/no.yaml [new file with mode: 0644]
qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/yes.yaml [new file with mode: 0644]
qa/suites/upgrade/jewel-x/parallel/1.7-workload-and-upgrade.yaml [new file with mode: 0644]

index a7ff9f485d77136384bb2b35f8f49b9c0235522e..12f8e61ec04556ed71ca105195a16e069a523a75 100644 (file)
@@ -31,10 +31,3 @@ tasks:
     mon.a:
     mon.b:
 - print: "**** done install.upgrade mon.a and mon.b"
-- parallel:
-    - workload
-    - upgrade-sequence
-- print: "**** done parallel"
-- install.upgrade:
-    client.0:
-- print: "**** done install.upgrade on client.0"
diff --git a/qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/no.yaml b/qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/no.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/yes.yaml b/qa/suites/upgrade/jewel-x/parallel/1.5-thrash-layout/yes.yaml
new file mode 100644 (file)
index 0000000..4422187
--- /dev/null
@@ -0,0 +1,19 @@
+tasks:
+- thrashosds:
+    timeout: 1200
+    chance_down: 0
+    disable_objectstore_tool_tests: true
+    chance_thrash_pg_upmap: 0
+    chance_thrash_pg_upmap_items: 0
+    chance_thrash_cluster_full: 0
+    dump_ops_enable: false
+    sighup_delay: 0
+overrides:
+  ceph:
+    log-whitelist:
+      - overall HEALTH_
+      - \(OSDMAP_FLAGS\)
+      - \(SMALLER_PGP_NUM\)
+      - \(OBJECT_
+      - \(REQUEST_SLOW\)
+      - \(TOO_FEW_PGS\)
diff --git a/qa/suites/upgrade/jewel-x/parallel/1.7-workload-and-upgrade.yaml b/qa/suites/upgrade/jewel-x/parallel/1.7-workload-and-upgrade.yaml
new file mode 100644 (file)
index 0000000..2f00563
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- parallel:
+    - workload
+    - upgrade-sequence
+- print: "**** done parallel"
+- install.upgrade:
+    client.0:
+- print: "**** done install.upgrade on client.0"