mirror of
https://github.com/ceph/ceph
synced 2025-02-15 14:58:01 +00:00
otherwise the cluster will complain that the quorum size is smaller than that of monmap. Signed-off-by: Kefu Chai <kchai@redhat.com>
37 lines
856 B
YAML
37 lines
856 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, mgr.x]
|
|
wait-for-healthy: true
|
|
mon-health-to-clog: false
|
|
- sleep:
|
|
duration: 60
|
|
- ceph.restart:
|
|
daemons: [osd.0, osd.1]
|
|
wait-for-healthy: true
|
|
- sleep:
|
|
duration: 60
|
|
- ceph.restart: [mds.a]
|
|
- sleep:
|
|
duration: 60
|
|
- sleep:
|
|
duration: 60
|
|
- ceph.restart:
|
|
daemons: [osd.2, osd.3]
|
|
wait-for-healthy: false
|
|
wait-for-osds-up: true
|
|
- sleep:
|
|
duration: 60
|