From: Patrick Donnelly Date: Wed, 22 Mar 2023 14:20:21 +0000 (-0400) Subject: qa: time log compression X-Git-Tag: v17.2.7~68^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fae5f0c898531d8cceb67b517f342eedd438432f;p=ceph.git qa: time log compression For debugging and ad-hoc analytics. Signed-off-by: Patrick Donnelly (cherry picked from commit 6739e1156350be7032f8832c04cf28da79e9c4d9) --- 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,