Skip to content

Commit 95e8c42

Browse files
committed
qa: print config dump after setting
For debugging. Fixes: https://tracker.ceph.com/issues/67737 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 2b69864 commit 95e8c42

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

qa/tasks/ceph.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,15 @@ def conf_setup(ctx, config):
414414
for p in procs:
415415
log.debug("waiting for %s", p)
416416
p.wait()
417+
cmd = [
418+
'sudo',
419+
'ceph',
420+
'--cluster',
421+
cluster_name,
422+
'config',
423+
'dump',
424+
]
425+
mon_remote.run(args=cmd)
417426
yield
418427

419428
@contextlib.contextmanager

qa/tasks/cephadm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,12 @@ def conf_setup(ctx, config):
18491849
for p in procs:
18501850
log.debug("waiting for %s", p)
18511851
p.wait()
1852+
cmd = [
1853+
'ceph',
1854+
'config',
1855+
'dump',
1856+
]
1857+
_shell(ctx, cluster_name, remote, args=cmd)
18521858
yield
18531859

18541860
@contextlib.contextmanager

0 commit comments

Comments
 (0)