Skip to content

Commit

Permalink
osd: clarify REQUIRE_LUMINOUS error message
Browse files Browse the repository at this point in the history
This should be visible at the default log level, so users have some
hope of figuring out the problem.

Signed-off-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin committed Feb 10, 2017
1 parent 880cbf0 commit f75e5c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f75e5c9

Please sign in to comment.