]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: relax osd check to allow octopus osd with mimic mon 27351/head
authorSage Weil <sage@redhat.com>
Wed, 3 Apr 2019 19:12:19 +0000 (14:12 -0500)
committerSage Weil <sage@redhat.com>
Wed, 3 Apr 2019 19:12:19 +0000 (14:12 -0500)
This mirrors commit 1a689766a50d346bef9f74d45a5086f54f41cca5 in master.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index e2912ec6c075d23e3093efc6953fdd11b4d416e6..9d482adeec6f5c904c42a2b82834f40054c084a3 100644 (file)
@@ -2725,12 +2725,12 @@ bool OSDMonitor::preprocess_boot(MonOpRequestRef op)
     goto ignore;
   }
 
-  // make sure upgrades stop at nautilus
+  // make sure osd versions do not span more than 3 releases
   if (HAVE_FEATURE(m->osd_features, SERVER_O) &&
-      osdmap.require_osd_release < CEPH_RELEASE_NAUTILUS) {
+      osdmap.require_osd_release < CEPH_RELEASE_MIMIC) {
     mon->clog->info() << "disallowing boot of post-nautilus OSD "
                      << m->get_orig_source_inst()
-                     << " because require_osd_release < nautilus";
+                     << " because require_osd_release < mimic";
     goto ignore;
   }