From 0328074f75b0c293ecafa731565301cc8b617f06 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 22 May 2018 16:55:03 -0500 Subject: [PATCH] mon/MgrMonitor: change 'unresponsive' message to info level We generate a MGR_DOWN health warning at the appropriate points; having this at WRN level just triggers failed teuthology runs but doesn't much value for the user. Clear out teuthology whitelisting for this message. Fixes: http://tracker.ceph.com/issues/24222 Signed-off-by: Sage Weil (cherry picked from commit 4ddbbe561c1e09d82b2f50e44c39896eca6bb5aa) --- qa/suites/rados/monthrash/ceph.yaml | 1 - qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml | 1 - src/mon/MgrMonitor.cc | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/suites/rados/monthrash/ceph.yaml b/qa/suites/rados/monthrash/ceph.yaml index 9c08e93f38483..d7e09a6378fea 100644 --- a/qa/suites/rados/monthrash/ceph.yaml +++ b/qa/suites/rados/monthrash/ceph.yaml @@ -6,7 +6,6 @@ overrides: paxos service trim min: 5 # thrashing monitors may make mgr have trouble w/ its keepalive log-whitelist: - - daemon x is unresponsive - overall HEALTH_ - \(MGR_DOWN\) tasks: diff --git a/qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml b/qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml index c64b2cded2947..48f1ce328b370 100644 --- a/qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml +++ b/qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml @@ -42,7 +42,6 @@ tasks: - \(PG_ - Monitor daemon marked osd - Behind on trimming - - is unresponsive conf: global: mon warn on pool no app: false diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 900aa5fce76e4..fe5bf828ac6fd 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -618,7 +618,7 @@ void MgrMonitor::tick() << " daemon " << pending_map.active_name; } else { dout(4) << "Active is laggy but have no standbys to replace it" << dendl; - mon->clog->warn() << "Manager daemon " << old_active_name + mon->clog->info() << "Manager daemon " << old_active_name << " is unresponsive. No standby daemons available."; } } else if (pending_map.active_gid == 0) { -- 2.39.5