]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Remove gzip as its done by pull_directory function 1085/head
authorVasu Kulkarni <vasu@redhat.com>
Thu, 29 Jun 2017 20:58:55 +0000 (13:58 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 29 Jun 2017 20:58:55 +0000 (13:58 -0700)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
teuthology/task/ceph_ansible.py

index 084e436ccdd3e4d3bfa2438753d058a33b9e571c..69e103f80204b8e54f911c5153557d9d9a55126a 100644 (file)
@@ -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)