]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph: retry several times to tell mons ot stop logging health 29090/head
authorSage Weil <sage@redhat.com>
Wed, 17 Jul 2019 21:47:14 +0000 (16:47 -0500)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Aug 2019 22:12:48 +0000 (15:12 -0700)
If we have any sort of failure injection, one attempt is not enough.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph.py

index 38c1a3ae4a0263ad542d28e550a749ecd24a4c77..532cdc00f25f87206db88dfb0a481f526f8aea63 100644 (file)
@@ -1940,11 +1940,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',