From: Sage Weil Date: Fri, 22 Mar 2019 22:33:39 +0000 (-0500) Subject: mon/OSDMonitor: add mon_debug_no_require_octopus X-Git-Tag: v15.0.0^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3760e8f918e4bd2654ef268cc2e5e4a67b8a9b28;p=ceph.git mon/OSDMonitor: add mon_debug_no_require_octopus Signed-off-by: Sage Weil --- diff --git a/qa/standalone/mon/msgr-v2-transition.sh b/qa/standalone/mon/msgr-v2-transition.sh index b489d43192e0..82a05b5a6a7b 100755 --- a/qa/standalone/mon/msgr-v2-transition.sh +++ b/qa/standalone/mon/msgr-v2-transition.sh @@ -23,7 +23,7 @@ function run() { function TEST_mon_v1_osd_addrs() { local dir=$1 - export CEPH_ARGS="$CEPH_ARGS --mon-host=$CEPH_MON_V1 --mon-debug-no-require-nautilus" + export CEPH_ARGS="$CEPH_ARGS --mon-host=$CEPH_MON_V1 --mon-debug-no-require-octopus --mon-debug-no-require-nautilus" run_mon $dir a || return 1 ceph mon dump | grep mon.a | grep $CEPH_MON_V1 @@ -58,7 +58,7 @@ function TEST_mon_v1_osd_addrs() { function TEST_mon_v2v1_osd_addrs() { local dir=$1 - export CEPH_ARGS="$CEPH_ARGS --mon-host=[$CEPH_MON_V2,$CEPH_MON_V1] --mon-debug-no-require-nautilus" + export CEPH_ARGS="$CEPH_ARGS --mon-host=[$CEPH_MON_V2,$CEPH_MON_V1] --mon-debug-no-require-octopus --mon-debug-no-require-nautilus" run_mon $dir a || return 1 ceph mon dump | grep mon.a | grep $CEPH_MON_V1 diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 548cc7572eee..e9610526d993 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1488,9 +1488,11 @@ function test_mon_osd() expect_false ceph osd set $f expect_false ceph osd unset $f done - ceph osd require-osd-release nautilus - # can't lower (or use new command for anything but jewel) - expect_false ceph osd require-osd-release jewel + ceph osd require-osd-release octopus + # can't lower + expect_false ceph osd require-osd-release nautilus + expect_false ceph osd require-osd-release mimic + expect_false ceph osd require-osd-release luminous # these are no-ops but should succeed. ceph osd set noup diff --git a/src/common/options.cc b/src/common/options.cc index 8a35540db451..984d5dca7a00 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1862,6 +1862,12 @@ std::vector