From: Sage Weil Date: Fri, 19 May 2017 15:58:59 +0000 (-0400) Subject: mon/OSDMonitor: adjust stray osd message a bit X-Git-Tag: v12.1.0~10^2~20^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=500f6dac42a74e443fb71c21ebe7a5013bf0b2ec;p=ceph.git mon/OSDMonitor: adjust stray osd message a bit 'kept' seems wrong in this context. Signed-off-by: Sage Weil --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index bf3d600082f2..2bdf84ed5d1e 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3603,10 +3603,10 @@ void OSDMonitor::get_health(list >& summary, if (!osds.empty()) { ostringstream ss; - ss << "osds were removed from osdmap, but still kept in crushmap"; + ss << osds.size() << " osds exist in the crush map but not in the osdmap"; summary.push_back(make_pair(HEALTH_WARN, ss.str())); if (detail) { - ss << " osds: [" << osds << "]"; + ss << " (osds: " << osds << ")"; detail->push_back(make_pair(HEALTH_WARN, ss.str())); } }