mirror of
https://github.com/ceph/ceph
synced 2025-01-29 06:24:03 +00:00
40 lines
997 B
YAML
40 lines
997 B
YAML
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
|
|
ceph expected to be healthy state after each step
|
|
upgrade-sequence2:
|
|
sequential:
|
|
- 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.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
|
|
wait-for-osds-up: true
|
|
- exec:
|
|
mon.a:
|
|
- ceph osd set require_kraken_osds
|
|
- ceph.restart: [osd.3]
|
|
- sleep:
|
|
duration: 60
|