]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: disallow post-hammer OSDs if there are up pre-hammer OSDs 5471/head
authorSage Weil <sage@redhat.com>
Tue, 4 Aug 2015 17:21:50 +0000 (13:21 -0400)
committerSage Weil <sage@redhat.com>
Tue, 4 Aug 2015 17:21:50 +0000 (13:21 -0400)
commit9b91adc560c8dffc1f5f7470d28c25f448b2b619
treee5804d87cdd0306df62f7f912d2ed6fac6433651
parent8a559c1e80bb7c70e13c46f1900896c9b8fcd9a9
mon: disallow post-hammer OSDs if there are up pre-hammer OSDs

Force *all* OSDs to upgrade to hammer before allowing post-hammer
OSDs to join.  This prevents any pre-hammer OSDs from running at
the same time as a post-hammer OSD.

This commit, as well as the definition of the sentinal post-hammer
feature, should get backported to hammer stable series.

Backport: hammer
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e38d60e94503c7e8511a60a8dceceb3cd39c2bd8)

# Conflicts:
# src/mon/OSDMonitor.cc
src/mon/OSDMonitor.cc