From 9658d5594133e8bf4d2e2835321b2b5278a4f120 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 22 Mar 2023 10:20:21 -0400 Subject: [PATCH] qa: time log compression For debugging and ad-hoc analytics. Signed-off-by: Patrick Donnelly (cherry picked from commit 6739e1156350be7032f8832c04cf28da79e9c4d9) --- qa/tasks/ceph.py | 1 + qa/tasks/ceph_deploy.py | 1 + qa/tasks/cephadm.py | 1 + qa/tasks/rook.py | 1 + 4 files changed, 4 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 7ce23acc0328..6e71b8b55b69 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -262,6 +262,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 531c1edd6729..832e2a1f4b3b 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -524,6 +524,7 @@ def build_ceph_cluster(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 5623b03eda22..7692e9249ad3 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -257,6 +257,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', # all logs, not just for the cluster diff --git a/qa/tasks/rook.py b/qa/tasks/rook.py index 8db0095b7b4f..e9d6552be11f 100644 --- a/qa/tasks/rook.py +++ b/qa/tasks/rook.py @@ -251,6 +251,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', log_dir, -- 2.47.3