summaryrefslogtreecommitdiffstats
path: root/qa/tasks
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-09-25 23:02:41 +0200
committerPatrick Donnelly <pdonnell@redhat.com>2024-09-25 23:02:41 +0200
commit34748207aa834a4f4014eb8dd1d823bc2deebe54 (patch)
treebba7b8551cdd597012c05075442524475da0edd3 /qa/tasks
parentMerge PR #59504 into main (diff)
parentqa: correct daemon for warning conf (diff)
downloadceph-34748207aa834a4f4014eb8dd1d823bc2deebe54.tar.xz
ceph-34748207aa834a4f4014eb8dd1d823bc2deebe54.zip
Merge PR #59467 into main
* refs/pull/59467/head: qa: correct daemon for warning conf qa: print config dump after setting Reviewed-by: Adam King <adking@redhat.com>
Diffstat (limited to 'qa/tasks')
-rw-r--r--qa/tasks/ceph.py9
-rw-r--r--qa/tasks/cephadm.py6
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