Prevent post-luminous OSDs from starting before require_luminous_osds is
set.
Signed-off-by: Sage Weil <sage@redhat.com>
}
}
+ // make sure upgrades stop at luminous
+ if (HAVE_FEATURE(m->osd_features, SERVER_M) &&
+ !osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
+ mon->clog->info() << "disallowing boot of post-luminous OSD "
+ << m->get_orig_source_inst()
+ << " because require_luminous_osds is not set\n";
+ goto ignore;
+ }
+
// make sure upgrades stop at jewel
if ((m->osd_features & CEPH_FEATURE_SERVER_KRAKEN) &&
!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_JEWEL)) {