From 95e8c42f4c36a4b4950b0411a85e4040bbcbde98 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 27 Aug 2024 12:36:05 -0400 Subject: [PATCH] qa: print config dump after setting For debugging. Fixes: https://tracker.ceph.com/issues/67737 Signed-off-by: Patrick Donnelly --- qa/tasks/ceph.py | 9 +++++++++ qa/tasks/cephadm.py | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 251337085a0..9b04e3dc675 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 41c095fc5d0..dab61c2c700 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 -- 2.39.5