From: Vasu Kulkarni Date: Thu, 29 Jun 2017 20:58:55 +0000 (-0700) Subject: Remove gzip as its done by pull_directory function X-Git-Tag: 1.1.0~406^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1085%2Fhead;p=teuthology.git Remove gzip as its done by pull_directory function Signed-off-by: Vasu Kulkarni --- diff --git a/teuthology/task/ceph_ansible.py b/teuthology/task/ceph_ansible.py index 084e436c..69e103f8 100644 --- a/teuthology/task/ceph_ansible.py +++ b/teuthology/task/ceph_ansible.py @@ -259,30 +259,6 @@ class CephAnsible(Task): ctx = self.ctx if ctx.archive is not None and \ not (ctx.config.get('archive-on-error') and ctx.summary['success']): - # collect logs - log.info('Compressing logs...') - run.wait( - ctx.cluster.run( - args=[ - 'sudo', - 'find', - '/var/log/ceph', - '-name', - '*.log', - '-print0', - run.Raw('|'), - 'sudo', - 'xargs', - '-0', - '--no-run-if-empty', - '--', - 'gzip', - '--', - ], - check_status=False, - ), - ) - log.info('Archiving logs...') path = os.path.join(ctx.archive, 'remote') os.makedirs(path)