mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
mon/OSDMonitor: adjust stray osd message a bit
'kept' seems wrong in this context. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
0f2a177307
commit
500f6dac42
@ -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()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user