]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: archive /var/log/ceph logs too (not just cluster dir)
authorSage Weil <sage@redhat.com>
Mon, 23 Dec 2019 00:24:18 +0000 (18:24 -0600)
committerSage Weil <sage@redhat.com>
Mon, 23 Dec 2019 22:35:09 +0000 (16:35 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/cephadm.py

index 2ab0fd5d2529d867b4f8cf4b4fa969c0686cb099..01bf8fe1df7c3dc308801a9e82346b5ea0fdcb0f 100644 (file)
@@ -197,7 +197,7 @@ def ceph_log(ctx, config):
                     args=[
                         'sudo',
                         'find',
-                        '/var/log/ceph/' + fsid,
+                        '/var/log/ceph',   # all logs, not just for the cluster
                         '-name',
                         '*.log',
                         '-print0',
@@ -226,7 +226,7 @@ def ceph_log(ctx, config):
                     os.makedirs(sub)
                 except OSError:
                     pass
-                teuthology.pull_directory(remote, '/var/log/ceph/' + fsid,
+                teuthology.pull_directory(remote, '/var/log/ceph',  # everything
                                           os.path.join(sub, 'log'))
 
 @contextlib.contextmanager