]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: mon osd feature checks with 0 up osds 18364/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 20 Sep 2017 03:15:30 +0000 (13:15 +1000)
committerKarol Mroz <kmroz@suse.de>
Fri, 20 Oct 2017 16:24:16 +0000 (09:24 -0700)
commitb382db7cfce84adc897cd68e4cd7a4eb1b40a9f1
treef6fc745391c23fa8f8980d77c618507b700882c1
parentc845db3f8c2a0c2494fbdc9d6cc63c8e0c3b0563
mon/OSDMonitor: mon osd feature checks with 0 up osds

get_up_osd_features() returns 0 if no osds are up which causes feature
checks to fail.

Fixes: http://tracker.ceph.com/issues/21471
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 26ba0ba044846d18f9bdfdbee6e2a9c46882c742)

Conflicts:
src/mon/MonCommands.h
          - removed mimic reference
src/mon/OSDMonitor.cc
          - removed mimic-only command path
src/mon/MonCommands.h
src/mon/OSDMonitor.cc