From: Patrick Donnelly Date: Tue, 27 Aug 2024 16:36:05 +0000 (-0400) Subject: qa: print config dump after setting X-Git-Tag: v20.0.0~970^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=95e8c42f4c36a4b4950b0411a85e4040bbcbde98;p=ceph.git qa: print config dump after setting For debugging. Fixes: https://tracker.ceph.com/issues/67737 Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 251337085a09..9b04e3dc675e 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -414,6 +414,15 @@ def conf_setup(ctx, config): for p in procs: log.debug("waiting for %s", p) p.wait() + cmd = [ + 'sudo', + 'ceph', + '--cluster', + cluster_name, + 'config', + 'dump', + ] + mon_remote.run(args=cmd) yield @contextlib.contextmanager diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 41c095fc5d08..dab61c2c7005 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1849,6 +1849,12 @@ def conf_setup(ctx, config): for p in procs: log.debug("waiting for %s", p) p.wait() + cmd = [ + 'ceph', + 'config', + 'dump', + ] + _shell(ctx, cluster_name, remote, args=cmd) yield @contextlib.contextmanager