From 272225c4be2103a816e31220194555aa8327ac79 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 22 Dec 2019 18:24:18 -0600 Subject: [PATCH] qa/tasks/cephadm: archive /var/log/ceph logs too (not just cluster dir) Signed-off-by: Sage Weil --- qa/tasks/cephadm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 2ab0fd5d2529d..01bf8fe1df7c3 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -197,7 +197,7 @@ def ceph_log(ctx, config): args=[ 'sudo', 'find', - '/var/log/ceph/' + fsid, + '/var/log/ceph', # all logs, not just for the cluster '-name', '*.log', '-print0', @@ -226,7 +226,7 @@ def ceph_log(ctx, config): os.makedirs(sub) except OSError: pass - teuthology.pull_directory(remote, '/var/log/ceph/' + fsid, + teuthology.pull_directory(remote, '/var/log/ceph', # everything os.path.join(sub, 'log')) @contextlib.contextmanager -- 2.39.5