]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
adjusting crush tunables when running a mixed version of mons and osds. bug 8765
authortamil <tamil.muthamizhan@inktank.com>
Tue, 23 Sep 2014 21:22:12 +0000 (14:22 -0700)
committertamil <tamil.muthamizhan@inktank.com>
Tue, 23 Sep 2014 21:22:12 +0000 (14:22 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
suites/upgrade/dumpling-firefly-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml

index e551183bfb884a87907268cc71ca3c072407c336..179f52e4a665c1bd6a6b5de135bd100c1228e010 100644 (file)
@@ -3,16 +3,30 @@ upgrade-sequence:
    - install.upgrade:
        mon.a:
    - print: "**** done install.upgrade mon.a to the version from teuthology-suite arg"
+   - ceph.restart:
+       daemons: [mon.a]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - ceph.restart:
+       daemons: [osd.0, osd.1]
+       wait-for-healthy: true
+   - sleep:
+       duration: 60
+   - print: "**** running mixed versions of osds and mons"
+   - exec:
+      mon.a:
+        - ceph osd crush tunables firefly
    - install.upgrade:
        mon.b:
    - print: "**** done install.upgrade mon.b to the version from teuthology-suite arg"
    - ceph.restart:
-       daemons: [mon.a, mon.b, mon.c]
+       daemons: [mon.b, mon.c]
        wait-for-healthy: true
    - sleep:
        duration: 60
    - ceph.restart:
-       daemons: [osd.0, osd.1, osd.2, osd.3]
+       daemons: [osd.2, osd.3]
        wait-for-healthy: true
    - sleep:
        duration: 60