]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/luminous-x/stress-split: mons on separate hosts, enable msgr2
authorSage Weil <sage@redhat.com>
Tue, 29 Jan 2019 23:02:54 +0000 (17:02 -0600)
committerSage Weil <sage@redhat.com>
Wed, 13 Feb 2019 17:41:21 +0000 (11:41 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/upgrade/luminous-x/stress-split-erasure-code/3-thrash/default.yaml
qa/suites/upgrade/luminous-x/stress-split/0-cluster/start.yaml
qa/suites/upgrade/luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml
qa/suites/upgrade/luminous-x/stress-split/3-thrash/default.yaml
qa/suites/upgrade/luminous-x/stress-split/5-finish-upgrade.yaml
qa/suites/upgrade/luminous-x/stress-split/6-msgr2.yaml [new file with mode: 0644]
qa/suites/upgrade/luminous-x/stress-split/6-nautilus.yaml [new symlink]

index edae7b3bd68e81a331b39ac0a77e73203ed70ffd..b12d76e9fe6f8fdfd5eeb3fee0b7d26358a445d3 100644 (file)
@@ -22,4 +22,5 @@ stress-tasks:
     chance_thrash_pg_upmap: 0
     chance_thrash_pg_upmap_items: 0
     chance_force_recovery: 0
+    aggressive_pg_num_changes: false
 - print: "**** done thrashosds 3-thrash"
index 2bc6ca8068fa649509459d02dc65c36af136dea3..e2096debfe9eb4ae34f5f384d9eeaba2898ee77d 100644 (file)
@@ -13,23 +13,28 @@ overrides:
       - \(MON_DOWN\)
       - \(MGR_DOWN\)
       - slow request
+      - \(MON_MSGR2_NOT_ENABLED\)
     conf:
       global:
         enable experimental unrecoverable data corrupting features: "*"
-       mon warn on msgr2 not enabled: false
+        mon warn on msgr2 not enabled: false
       mon:
         mon warn on osd down out interval zero: false
 roles:
 - - mon.a
-  - mon.b
-  - mon.c
   - mgr.x
   - osd.0
   - osd.1
   - osd.2
   - osd.3
-- - osd.4
+- - mon.b
+  - osd.4
   - osd.5
   - osd.6
   - osd.7
+- - mon.c
+- - osd.8
+  - osd.9
+  - osd.10
+  - osd.11
 - - client.0
index ea3884d9f6d6ebdceed5e6d203e045602d8d776e..e084e28daa15db274abb10bb2c3dbc223450a663 100644 (file)
@@ -1,16 +1,17 @@
 meta:
 - desc: |
-   install upgrade ceph/-x on one node only
-   1st half
-   restart : osd.0,1,2,3
+   install upgrade ceph/-x on 2/3 of cluster
+   restart : mons, osd.0-7
 tasks:
 - install.upgrade:
-    osd.0:
-- print: "**** done install.upgrade osd.0"
+    mon.a:
+    mon.b:
+    mon.c:
+- print: "**** done install.upgrade of first 3 nodes"
 - ceph.restart:
-    daemons: [mon.a,mon.b,mon.c,mgr.x,osd.0,osd.1,osd.2,osd.3]
+    daemons: [mon.a,mon.b,mgr.x,osd.0,osd.1,osd.2,osd.3,osd.4,osd.5,osd.6,osd.7]
     mon-health-to-clog: false
-- print: "**** done ceph.restart 1st half"
+- print: "**** done ceph.restart of all mons and 2/3 of osds"
 - exec:
     osd.0:
       - ceph osd set pglog_hardlimit && exit 1 || true
index b3fddefc7a35fa4163225c24c2e26dd66b9f9dc2..e0f317b0c1adacffc8a7dcdf12892ffbee6dee51 100644 (file)
@@ -22,4 +22,5 @@ stress-tasks:
     chance_thrash_pg_upmap_items: 0
     disable_objectstore_tool_tests: true
     chance_force_recovery: 0
+    aggressive_pg_num_changes: false
 - print: "**** done thrashosds 3-thrash"
index 578d84d3d850a73f5a62be42bb3277e4f9609768..306445c8fbf445e9799eee3055337c678558787d 100644 (file)
@@ -1,14 +1,15 @@
 tasks:
 - install.upgrade:
-    osd.4:
+    osd.8:
     client.0:
 - ceph.restart:
-    daemons: [osd.4, osd.5, osd.6, osd.7]
+    daemons: [mon.c, osd.8, osd.9, osd.10, osd.11]
     wait-for-healthy: false
     wait-for-osds-up: true
 - exec:
     osd.0:
       - ceph osd set pglog_hardlimit
       - ceph osd dump --format=json-pretty | grep "flags"
+      - ceph config set global mon_warn_on_msgr2_not_enabled false
 - print: "**** try to set pglog_hardlimit again, should succeed"
 
diff --git a/qa/suites/upgrade/luminous-x/stress-split/6-msgr2.yaml b/qa/suites/upgrade/luminous-x/stress-split/6-msgr2.yaml
new file mode 100644 (file)
index 0000000..f56c8be
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph mon enable-msgr2
+      - ceph config rm global mon_warn_on_msgr2_not_enabled
+- ceph.healthy:
diff --git a/qa/suites/upgrade/luminous-x/stress-split/6-nautilus.yaml b/qa/suites/upgrade/luminous-x/stress-split/6-nautilus.yaml
new file mode 120000 (symlink)
index 0000000..9e99b7d
--- /dev/null
@@ -0,0 +1 @@
+.qa/releases/nautilus.yaml
\ No newline at end of file