This makes it tedious for teuthology health checks to proceed when we
deliberately run luminous osds without this flag.
Signed-off-by: Sage Weil <sage@redhat.com>
}
// warn about upgrade flags that can be set but are not.
- if (HAVE_FEATURE(osdmap.get_up_osd_features(), SERVER_LUMINOUS) &&
+ if (g_conf->mon_debug_no_require_luminous) {
+ // ignore these checks
+ } else if (HAVE_FEATURE(osdmap.get_up_osd_features(), SERVER_LUMINOUS) &&
!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
string msg = "all OSDs are running luminous or later but the"
" 'require_luminous_osds' osdmap flag is not set";