ceph/qa/releases/luminous.yaml
Sage Weil 31419d0e0f mon/MgrMonitor: health warn/err if no active mgr
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>
2017-03-30 17:57:34 -04:00

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