]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph: disable logrotate
authorSage Weil <sage@inktank.com>
Thu, 27 Jun 2013 00:48:03 +0000 (17:48 -0700)
committerSage Weil <sage@inktank.com>
Thu, 27 Jun 2013 00:48:03 +0000 (17:48 -0700)
This screwed up the log archival step at the end, and generally makes a
mess of automated runs.

Fixe: #5451

teuthology/task/ceph.py

index e8e7d7249f2f408c61d1e59ae04d8fef1d91b97c..5ee32152b6e1075df47e8fb58e1e75208510b045 100644 (file)
@@ -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(