diff options
author | Patrick Donnelly <pdonnell@redhat.com> | 2024-08-27 18:36:05 +0200 |
---|---|---|
committer | Patrick Donnelly <pdonnell@redhat.com> | 2024-09-16 21:39:11 +0200 |
commit | 95e8c42f4c36a4b4950b0411a85e4040bbcbde98 (patch) | |
tree | 607110908a40ca64c50852ce5785cc0625647c5d | |
parent | Merge pull request #59781 from ivoalmeida/table-filter-fix (diff) | |
download | ceph-95e8c42f4c36a4b4950b0411a85e4040bbcbde98.tar.xz ceph-95e8c42f4c36a4b4950b0411a85e4040bbcbde98.zip |
qa: print config dump after setting
For debugging.
Fixes: https://tracker.ceph.com/issues/67737
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
-rw-r--r-- | qa/tasks/ceph.py | 9 | ||||
-rw-r--r-- | qa/tasks/cephadm.py | 6 |
2 files changed, 15 insertions, 0 deletions
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 |