From 8993bd0e2559ac0551db0ba7ea086813879204f5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 17 Jul 2019 16:47:14 -0500 Subject: [PATCH] qa/tasks/ceph: retry several times to tell mons ot stop logging health If we have any sort of failure injection, one attempt is not enough. Signed-off-by: Sage Weil (cherry picked from commit 662dbf9c6c6567a5eaad8d5c9fe7f936b939b423) --- qa/tasks/ceph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 7f0976536959..95d094e4178f 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -1938,11 +1938,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', -- 2.47.3