From 0709f29a27d266866e586f0dfe11e6164b3dbb9f Mon Sep 17 00:00:00 2001 From: Vivek Maurya Date: Sun, 8 Feb 2026 10:05:33 -0600 Subject: [PATCH] osd: Rephrase unclear OSD_FLAGS warning message Setting maintenance mode show below warning,which appears incorrect or ambiguous. [WRN] OSD_FLAGS: 1 OSDs or CRUSH {nodes, device-classes}have {NOUP,NODOWN,NOIN,NOOUT} flags set Change warning as shown bellow. [WRN] OSD_FLAGS: 1 OSDs or CRUSH nodes/device-classes have one or more of these flags set: NOUP, NODOWN, NOIN, NOOUT Fixes: https://tracker.ceph.com/issues/71716 Signed-off-by: Vivek Maurya --- src/osd/OSDMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc index 5583369c008..41969c99e24 100644 --- a/src/osd/OSDMap.cc +++ b/src/osd/OSDMap.cc @@ -7770,7 +7770,7 @@ void OSDMap::check_health(CephContext *cct, } if (!detail.empty()) { ostringstream ss; - ss << detail.size() << " OSDs or CRUSH {nodes, device-classes} have {NOUP,NODOWN,NOIN,NOOUT} flags set"; + ss << detail.size() << " OSDs or CRUSH nodes/device-classes have one or more of these flags set: NOUP, NODOWN, NOIN, NOOUT"; auto& d = checks->add("OSD_FLAGS", HEALTH_WARN, ss.str(), detail.size()); d.detail.swap(detail); } -- 2.47.3