From: Sage Weil Date: Thu, 27 Jun 2013 00:48:03 +0000 (-0700) Subject: ceph: disable logrotate X-Git-Tag: 1.1.0~2098 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=140e63b4136da1a03a90c30c89bf7aa0c6cea04e;p=teuthology.git ceph: disable logrotate This screwed up the log archival step at the end, and generally makes a mess of automated runs. Fixe: #5451 --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index e8e7d7249..5ee32152b 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(