]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/suites/upgrade/mimic-x/parallel: update for msgr v2
authorSage Weil <sage@redhat.com>
Thu, 14 Feb 2019 22:54:37 +0000 (16:54 -0600)
committerSage Weil <sage@redhat.com>
Fri, 15 Feb 2019 22:06:52 +0000 (16:06 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/upgrade/mimic-x/parallel/0-cluster/start.yaml
qa/suites/upgrade/mimic-x/parallel/1-ceph-install/mimic.yaml
qa/suites/upgrade/mimic-x/parallel/3-upgrade-sequence/upgrade-all.yaml
qa/suites/upgrade/mimic-x/parallel/3-upgrade-sequence/upgrade-mon-osd-mds.yaml
qa/suites/upgrade/mimic-x/parallel/4-msgr2.yaml [new file with mode: 0644]
qa/suites/upgrade/mimic-x/parallel/4-nautilus.yaml [new symlink]

index fe174f5b8abca042b7f065a5c866297d9a81ac7f..38282ab50a0aa5aa2a136d32d0e19a3f07da3c62 100644 (file)
@@ -14,9 +14,13 @@ roles:
   - osd.0
   - osd.1
 - - mon.b
-  - mon.c
+  - mgr.y
   - osd.2
   - osd.3
+- - mon.c
+  - mds.b
+  - osd.4
+  - osd.5
 - - client.0
   - client.1
   - client.2
@@ -32,6 +36,7 @@ overrides:
     - \(POOL_APP_NOT_ENABLED\)
     - \(SLOW_OPS\)
     - overall HEALTH_
+    - \(MON_MSGR2_NOT_ENABLED\)
     conf:
       global:
         enable experimental unrecoverable data corrupting features: "*"
index 3d978dbb7c7b61ea33c02b91e72451100cbaf53c..2edc4a6e602724b872552e625a7f2dd0b352ef11 100644 (file)
@@ -40,7 +40,8 @@ tasks:
 - install.upgrade:
     mon.a:
     mon.b:
-- print: "**** done install.upgrade both hosts"
+    mon.c:
+- print: "**** done install.upgrade non-client hosts"
 - parallel:
     - workload
     - upgrade-sequence
index 5c021bdf130743dc919759e1509b935a9f0991d7..15a3271fe8c4e57ebb52ce955ae114df664fdcc9 100644 (file)
@@ -4,14 +4,19 @@ meta:
 upgrade-sequence:
    sequential:
    - ceph.restart:
-       daemons: [mon.a, mon.b, mon.c, mgr.x]
+       daemons: [mon.a, mon.b, mon.c, mgr.x, mgr.y]
        mon-health-to-clog: false
+       wait-for-healthy: false
+   - exec:
+       mon.a:
+         - ceph config set global mon_warn_on_msgr2_not_enabled false
+   - ceph.healthy:
    - ceph.restart:
-       daemons: [osd.0, osd.1, osd.2, osd.3]
+       daemons: [osd.0, osd.1, osd.2, osd.3, osd.4, osd.5]
        wait-for-healthy: false
        wait-for-osds-up: true
    - ceph.restart:
-       daemons: [mds.a]
+       daemons: [mds.a, mds.b]
        wait-for-healthy: false
        wait-for-osds-up: true
    - print: "**** done ceph.restart all"
index 46a1345fb15400df3009deb178f1da977bf54330..cf8b716440e48a56eff5902a358ad96e3ff82c55 100644 (file)
@@ -13,9 +13,19 @@ upgrade-sequence:
    - sleep:
        duration: 60
    - ceph.restart:
-       daemons: [mon.b, mon.c, mgr.x]
+       daemons: [mon.b, mgr.x]
        wait-for-healthy: true
        mon-health-to-clog: false
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [mon.c]
+       wait-for-healthy: false
+       mon-health-to-clog: false
+   - exec:
+       mon.a:
+         - ceph config set global mon_warn_on_msgr2_not_enabled false
+   - ceph.healthy:
    - sleep:
        duration: 60
    - ceph.restart:
@@ -23,7 +33,12 @@ upgrade-sequence:
        wait-for-healthy: true
    - sleep:
        duration: 60
-   - ceph.restart: [mds.a]
+   - ceph.restart: [mds.a, mds.b]
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.4, osd.5]
+       wait-for-healthy: true
    - sleep:
        duration: 60
    - sleep:
diff --git a/qa/suites/upgrade/mimic-x/parallel/4-msgr2.yaml b/qa/suites/upgrade/mimic-x/parallel/4-msgr2.yaml
new file mode 100644 (file)
index 0000000..60e3e20
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- exec:
+    mon.a:
+      - ceph mon enable-msgr2
+      - ceph config rm global mon_warn_on_msgr2_not_enabled
diff --git a/qa/suites/upgrade/mimic-x/parallel/4-nautilus.yaml b/qa/suites/upgrade/mimic-x/parallel/4-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