From 777f239df9118608ef39a1a8b26bc984ac9f03b6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 21 Jan 2020 08:57:06 -0600 Subject: [PATCH] qa/tasks/ceph: set mon_health_to_clog=false via mon config This actually works better on new versions. Signed-off-by: Sage Weil --- qa/tasks/ceph.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 7e27f4cc455..fad9d1e4e67 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -1918,17 +1918,13 @@ def task(ctx, config): # a bunch of scary messages unrelated to our actual run. firstmon = teuthology.get_first_mon(ctx, config, config['cluster']) (mon0_remote,) = ctx.cluster.only(firstmon).remotes.keys() - # try this several times, since tell to mons is lossy. mon0_remote.run( args=[ 'sudo', 'ceph', '--cluster', config['cluster'], - '--mon-client-directed-command-retry', '5', - 'tell', - 'mon.*', - 'injectargs', - '--', - '--no-mon-health-to-clog', - ] + 'config', 'set', 'global', + 'mon_health_to_clog', 'false', + ], + check_status=False, ) -- 2.39.5