From: Igor Fedotov Date: Mon, 9 Sep 2019 13:34:38 +0000 (+0300) Subject: mon/pgmap: fix bluestore alerts output. X-Git-Tag: v15.1.0~1560^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6b4356cdf2646ef28df33435d217dab42c3153d7;p=ceph-ci.git mon/pgmap: fix bluestore alerts output. Lost OSD count for most of them. Signed-off-by: Igor Fedotov --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 2eced47be10..e76ab9613f9 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) {