]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: clarify REQUIRE_LUMINOUS error message 13363/head
authorJosh Durgin <jdurgin@redhat.com>
Fri, 10 Feb 2017 22:27:14 +0000 (14:27 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 10 Feb 2017 22:27:18 +0000 (14:27 -0800)
This should be visible at the default log level, so users have some
hope of figuring out the problem.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/osd/OSD.cc

index 95b3062e65c95c8b8b524a1ac1e0aca5e49d9793..2782f4789923069d9e6e6c317afa1b92af35c471 100644 (file)
@@ -5035,7 +5035,8 @@ void OSD::_preboot(epoch_t oldest, epoch_t newest)
            << dendl;
   } else if (!monc->monmap.get_required_features().contains_all(
               ceph::features::mon::FEATURE_LUMINOUS)) {
-    dout(1) << "monmap REQUIRE_LUMINOUS is NOT set; upgrade mons first" << dendl;
+    derr << "monmap REQUIRE_LUMINOUS is NOT set; must upgrade all monitors to "
+        << "Luminous or later before Luminous OSDs will boot" << dendl;
   } else if (osdmap->get_epoch() >= oldest - 1 &&
             osdmap->get_epoch() + cct->_conf->osd_map_message_max > newest) {
     _send_boot();