From fae5f0c898531d8cceb67b517f342eedd438432f 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 a337d585416..f0803dbd497 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 531c1edd672..832e2a1f4b3 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 bb2c88822e4..be5ddd65d45 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -272,6 +272,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 5058be1cdf5..fb6f3fa67a9 100644 --- a/qa/tasks/rook.py +++ b/qa/tasks/rook.py @@ -263,6 +263,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', log_dir, -- 2.47.3