]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: adjust stray osd message a bit
authorSage Weil <sage@redhat.com>
Fri, 19 May 2017 15:58:59 +0000 (11:58 -0400)
committerSage Weil <sage@redhat.com>
Fri, 19 May 2017 15:58:59 +0000 (11:58 -0400)
'kept' seems wrong in this context.

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

index bf3d600082f24fc38d1210f03982c9c562d3f42c..2bdf84ed5d1ecb75ded38386cb8104b1a1b7d3bc 100644 (file)
@@ -3603,10 +3603,10 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& 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()));
       }
     }