ceph/qa/releases/luminous.yaml
Sage Weil 3118d9a154 osd: replace require_*_osds flags with require_osd_release field
- OSDMap encode and decode translate between the flags and int
representations.
- OSDMap::Incremental only does decode; we do not expect to ever encode
an incremental osdmap for an old osd that sets any of these flags.
- the 'osd set' command still lets you set the jewel and kraken flags,
but not luminous.
- OSDMap::apply_incremental handles the conversion of legacy require flags
to the new field if the jewel or kraken flags have to be set before
starting the osd upgrade.
- clear out the legacy flags when we make the luminous transition only;
until then we keep using the old flag in the encoded and decoded version
(although the require_osd_release field will be accurate in memory in all
cases).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-29 21:33:17 -04:00

22 lines
537 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 require-osd-release luminous
- ceph osd set-require-min-compat-client luminous
- ceph.healthy:
overrides:
ceph:
conf:
mon:
mon warn on osd down out interval zero: false
log-whitelist:
- no active mgr