]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: print config dump after setting
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 27 Aug 2024 16:36:05 +0000 (12:36 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 16 Sep 2024 19:39:11 +0000 (15:39 -0400)
For debugging.

Fixes: https://tracker.ceph.com/issues/67737
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/ceph.py
qa/tasks/cephadm.py

index 251337085a097d63cb4a202309fb7efca221c31c..9b04e3dc675e0106ad7212ab4cca2a913d1af811 100644 (file)
@@ -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
index 41c095fc5d083c5147862735727c713093f87acd..dab61c2c7005cc8cfa87eac36f04988623e0e7ec 100644 (file)
@@ -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