ceph/qa/suites/upgrade/jewel-x/parallel/3-upgrade-sequence/upgrade-mon-osd-mds.yaml
Sage Weil 3c80e15c3b qa/suites/upgrade/jewel-x/parallel: upgrade mons before osds
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-06 22:02:19 -05:00

39 lines
967 B
YAML

meta:
- desc: |
upgrade the ceph cluster,
upgrate in two steps
step one ordering: mon.a, osd.0, osd.1, mds.a
step two ordering: mon.b, mon.c, osd.2, osd.3
ceph expected to be healthy state after each step
upgrade-sequence:
sequential:
- ceph.restart:
daemons: [mon.a]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [mon.b, mon.c]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.0, osd.1]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart: [mds.a]
- sleep:
duration: 60
- print: "**** running mixed versions of osds and mons"
- exec:
mon.b:
- sudo ceph osd crush tunables jewel
- print: "**** done ceph osd crush tunables jewel"
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
wait-for-healthy: false
wait-for-osds-up: true