From 6b4356cdf2646ef28df33435d217dab42c3153d7 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Mon, 9 Sep 2019 16:34:38 +0300 Subject: [PATCH] mon/pgmap: fix bluestore alerts output. Lost OSD count for most of them. Signed-off-by: Igor Fedotov --- src/mon/PGMap.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 2eced47be1080..e76ab9613f997 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -3190,13 +3190,13 @@ void PGMap::get_health_checks( if (asum.first == "BLUEFS_SPILLOVER") { summary += " experiencing BlueFS spillover"; } else if (asum.first == "BLUESTORE_NO_COMPRESSION") { - summary = " have broken BlueStore compression"; + summary += " have broken BlueStore compression"; } else if (asum.first == "BLUESTORE_LEGACY_STATFS") { - summary = " reporting legacy (not per-pool) BlueStore stats"; + summary += " reporting legacy (not per-pool) BlueStore stats"; } else if (asum.first == "BLUESTORE_DISK_SIZE_MISMATCH") { - summary = " have dangerous mismatch between BlueStore block device and free list sizes"; + summary += " have dangerous mismatch between BlueStore block device and free list sizes"; } else if (asum.first == "BLUESTORE_NO_PER_POOL_OMAP") { - summary = " reporting legacy (not per-pool) BlueStore omap usage stats"; + summary += " reporting legacy (not per-pool) BlueStore omap usage stats"; } auto& d = checks->add(asum.first, HEALTH_WARN, summary, asum.second.first); for (auto& s : asum.second.second) { -- 2.39.5