]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/upgrade/hammer-jewel-x: upgrade all mon to luminous before osd
authorKefu Chai <kchai@redhat.com>
Tue, 20 Jun 2017 03:28:26 +0000 (11:28 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 22 Jun 2017 04:19:01 +0000 (12:19 +0800)
luminous osd requires that monmap has REQUIRE_LUMINOUS before it boots.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/suites/upgrade/hammer-jewel-x/parallel/7-upgrade-sequence/upgrade-by-daemon.yaml

index 4fdab3edd54257a7b654f18f12f79309ea937ee7..0a69a7fa4521ae8ea546d74173c6478694bf218f 100644 (file)
@@ -2,13 +2,13 @@ meta:
 - desc: |
    upgrade the ceph cluster,
    upgrate in two steps
-   step one ordering: mon.a, osd.0, osd.1
-   step two ordering: mon.b, mon.c, osd.2, osd.3
+   step one ordering: mon.a, mon.b, mon.c, osd.0, osd.1
+   step two ordering: osd.2, osd.3
    ceph expected to be healthy state after each step
 upgrade-sequence2:
    sequential:
    - ceph.restart:
-       daemons: [mon.a]
+       daemons: [mon.a, mon.b, mon.c]
        wait-for-healthy: true
    - sleep:
        duration: 60
@@ -22,11 +22,6 @@ upgrade-sequence2:
       mon.b:
         - sudo ceph osd crush tunables jewel
    - print: "**** done ceph osd crush tunables jewel"
-   - ceph.restart:
-       daemons: [mon.b, mon.c]
-       wait-for-healthy: true
-   - sleep:
-       duration: 60
    - ceph.restart:
        daemons: [osd.2, osd.3]
        wait-for-healthy: false