}
}
- // make sure upgrades stop at luminous
- if (HAVE_FEATURE(m->osd_features, SERVER_MIMIC) &&
- osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- mon->clog->info() << "disallowing boot of post-luminous OSD "
+ // make sure upgrades stop at nautilus
+ if (HAVE_FEATURE(m->osd_features, SERVER_O) &&
+ osdmap.require_osd_release < CEPH_RELEASE_NAUTILUS) {
+ mon->clog->info() << "disallowing boot of post-nautilus OSD "
<< m->get_orig_source_inst()
- << " because require_osd_release < luminous";
+ << " because require_osd_release < nautilus";
goto ignore;
}
- // make sure upgrades stop at jewel
- if (HAVE_FEATURE(m->osd_features, SERVER_KRAKEN) &&
- osdmap.require_osd_release < CEPH_RELEASE_JEWEL) {
- mon->clog->info() << "disallowing boot of post-jewel OSD "
- << m->get_orig_source_inst()
- << " because require_osd_release < jewel";
- goto ignore;
- }
-
- // make sure upgrades stop at hammer
- // * HAMMER_0_94_4 is the required hammer feature
- // * MON_METADATA is the first post-hammer feature
- if (osdmap.get_num_up_osds() > 0) {
- if ((m->osd_features & CEPH_FEATURE_MON_METADATA) &&
- !(osdmap.get_up_osd_features() & CEPH_FEATURE_HAMMER_0_94_4)) {
- mon->clog->info() << "disallowing boot of post-hammer OSD "
- << m->get_orig_source_inst()
- << " because one or more up OSDs is pre-hammer v0.94.4";
- goto ignore;
- }
- if (!(m->osd_features & CEPH_FEATURE_HAMMER_0_94_4) &&
- (osdmap.get_up_osd_features() & CEPH_FEATURE_MON_METADATA)) {
- mon->clog->info() << "disallowing boot of pre-hammer v0.94.4 OSD "
- << m->get_orig_source_inst()
- << " because all up OSDs are post-hammer";
- goto ignore;
- }
- }
-
// already booted?
if (osdmap.is_up(from) &&
osdmap.get_inst(from) == m->get_orig_source_inst() &&