]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MgrMonitor: change 'unresponsive' message to info level 22331/head
authorSage Weil <sage@redhat.com>
Tue, 22 May 2018 21:55:03 +0000 (16:55 -0500)
committerPrashant D <pdhange@redhat.com>
Thu, 31 May 2018 01:38:33 +0000 (21:38 -0400)
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 <sage@redhat.com>
(cherry picked from commit 4ddbbe561c1e09d82b2f50e44c39896eca6bb5aa)

qa/suites/rados/monthrash/ceph.yaml
qa/suites/upgrade/jewel-x/parallel/1-jewel-install/jewel.yaml
src/mon/MgrMonitor.cc

index 9c08e93f3848377e04a7864e5d32be237ecfbe5f..d7e09a6378fea071af8732b63667c6f4ac92f422 100644 (file)
@@ -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:
index c64b2cded2947010e7680528d411d36a4cedf9db..48f1ce328b3701f15a63374c739e3bef60debf0b 100644 (file)
@@ -42,7 +42,6 @@ tasks:
       - \(PG_
       - Monitor daemon marked osd
       - Behind on trimming
-      - is unresponsive
     conf:
       global:
         mon warn on pool no app: false
index 900aa5fce76e4612d68ed13da75653bdf07b2250..fe5bf828ac6fd86609ce4b299c81b16f45157234 100644 (file)
@@ -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) {