]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: prevent post-jewel OSDs unless require_jewel_osds
authorSage Weil <sage@redhat.com>
Tue, 1 Nov 2016 16:04:39 +0000 (12:04 -0400)
committerSage Weil <sage@redhat.com>
Tue, 1 Nov 2016 16:04:53 +0000 (12:04 -0400)
commita8fb6ab9ba614808cc2398afc2640f215e681edd
tree664fbba344179d7acbefb98dea9e396492fc2463
parent0b7577f8f527daa982916e0767e60d7ad55eb310
mon/OSDMonitor: prevent post-jewel OSDs unless require_jewel_osds

We want all upgrades to stop at jewel.  Do this by
requiring that the admin set require_jewel_osds before
allowing post-jewel OSDs (i.e., OSDs with kraken feature)
from starting.

This is similar to the hammer stop we required, except
that there we relied on the feature bits alone.  Here,
we implicitly require that the admin also set the
require_jewel_osds flag.

Backport: jewel
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc