mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
31419d0e0f
Start warning once mons are luminous; start erroring once require_luminous is set in osdmap. Allow a grace period for mgr to restart or standby to take over before we turn a warning into an error. Signed-off-by: Sage Weil <sage@redhat.com>
21 lines
478 B
YAML
21 lines
478 B
YAML
tasks:
|
|
- exec:
|
|
mgr.x:
|
|
- mkdir -p /var/lib/ceph/mgr/ceph-x
|
|
- ceph auth get-or-create-key mgr.x mon 'allow profile mgr'
|
|
- ceph auth export mgr.x > /var/lib/ceph/mgr/ceph-x/keyring
|
|
- ceph.restart:
|
|
daemons: [mgr.x]
|
|
wait-for-healthy: false
|
|
- exec:
|
|
osd.0:
|
|
- ceph osd set require_luminous_osds
|
|
- ceph.healthy:
|
|
overrides:
|
|
ceph:
|
|
conf:
|
|
mon:
|
|
mon warn on osd down out interval zero: false
|
|
log-whitelist:
|
|
- no active mgr
|