]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MgrMonitor: change 'unresponsive' message to info level 22333/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 02:49:45 +0000 (22:49 -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 3a97e6d3e68d0739e515b0ba6254849026cb6888..13c05e58cd9ea9f6fae6fd295d60b878149c6348 100644 (file)
@@ -10,7 +10,6 @@ overrides:
         mon osdmap full prune txsize: 2
 # thrashing monitors may make mgr have trouble w/ its keepalive
     log-whitelist:
-      - daemon x is unresponsive
       - overall HEALTH_
       - \(MGR_DOWN\)
 # slow mons -> slow peering -> PG_AVAILABILITY
index a367ef37c12c5c2fcba0ffc2c2a37a1b83e1a5b6..a7ff9f485d77136384bb2b35f8f49b9c0235522e 100644 (file)
@@ -23,7 +23,6 @@ tasks:
       - \(PG_
       - Monitor daemon marked osd
       - Behind on trimming
-      - is unresponsive
     conf:
       global:
         mon warn on pool no app: false
index 084f0a9dad546a9f72696b6ff100bb4ef2c903ad..6b4eab48fdc986fd25138c6f7fe9487a5f94d5cd 100644 (file)
@@ -577,7 +577,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) {