]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph_manager: let c-o-t log errors 38929/head
authorJosh Durgin <jdurgin@redhat.com>
Sat, 16 Jan 2021 00:05:00 +0000 (19:05 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 16 Jan 2021 00:10:13 +0000 (19:10 -0500)
This will capture e.g. bluestore fsck issues in teuthology.log

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
qa/tasks/ceph_manager.py

index 9d9e735091e64cddcd9580fa045ec8b6f25bddc1..f28565ef1cbf37bb778214c2cd4e548e56f80893 100644 (file)
@@ -227,14 +227,14 @@ class OSDThrasher(Thrasher):
         if self.ceph_manager.cephadm:
             return shell(
                 self.ceph_manager.ctx, self.ceph_manager.cluster, remote,
-                args=['ceph-objectstore-tool'] + cmd,
+                args=['ceph-objectstore-tool', '--err-to-stderr'] + cmd,
                 name=osd,
                 wait=True, check_status=False,
                 stdout=StringIO(),
                 stderr=StringIO())
         else:
             return remote.run(
-                args=['sudo', 'adjust-ulimits', 'ceph-objectstore-tool'] + cmd,
+                args=['sudo', 'adjust-ulimits', 'ceph-objectstore-tool', '--err-to-stderr'] + cmd,
                 wait=True, check_status=False,
                 stdout=StringIO(),
                 stderr=StringIO())