From: Patrick Donnelly Date: Wed, 22 Mar 2023 14:20:21 +0000 (-0400) Subject: qa: time log compression X-Git-Tag: v19.0.0~1184^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6739e1156350be7032f8832c04cf28da79e9c4d9;p=ceph.git qa: time log compression For debugging and ad-hoc analytics. Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index acf86f6c577..21cc2b05336 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 0c4c4ccc1d3..c77ee6a18ef 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -346,6 +346,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 d1110ed6a76..6cb75173966 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,