From 140e63b4136da1a03a90c30c89bf7aa0c6cea04e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 26 Jun 2013 17:48:03 -0700 Subject: [PATCH] ceph: disable logrotate This screwed up the log archival step at the end, and generally makes a mess of automated runs. Fixe: #5451 --- teuthology/task/ceph.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index e8e7d7249f..5ee32152b6 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -110,6 +110,17 @@ def ceph_log(ctx, config): wait=False, ) ) + log.info('Disabling ceph logrotate...') + run.wait( + ctx.cluster.run( + args=[ + 'sudo', + 'rm', '-f', '--', + '/etc/logrotate.d/ceph', + ], + wait=False, + ) + ) log.info('Creating extra log directories...') run.wait( ctx.cluster.run( -- 2.39.5