mirror of
https://github.com/ceph/ceph
synced 2025-01-08 20:21:33 +00:00
3c80e15c3b
Signed-off-by: Sage Weil <sage@redhat.com>
39 lines
967 B
YAML
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
|