]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph: set mon_health_to_clog=false via mon config
authorSage Weil <sage@redhat.com>
Tue, 21 Jan 2020 14:57:06 +0000 (08:57 -0600)
committerSage Weil <sage@redhat.com>
Thu, 23 Jan 2020 23:12:56 +0000 (17:12 -0600)
This actually works better on new versions.

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

index 7e27f4cc4557a7d1073f0a5cf3d7f250147a6564..fad9d1e4e6761bd88a8847bab075aa4bf41cecde 100644 (file)
@@ -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,
             )