]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph: resurrect log compression 38252/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 23 Nov 2020 22:15:09 +0000 (23:15 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 23 Nov 2020 23:51:54 +0000 (00:51 +0100)
commit0e4bc2772250d05f054303bfdef2b7d82a257af9
tree62c05572382f24a5cda320c8a959c7aebd37443b
parentc569a302bec94855f89d3c9889d4d1ca48318a1b
qa/tasks/ceph: resurrect log compression

Commit 953662555840 ("qa/tasks/ceph: use Cluster.sh() and Remote.sh()
when appropriate") dropped run.wait(), which waits for all given
processes to exit.  This resulted in errors like

  INFO:teuthology.orchestra.run.smithi107.stderr:tar: ./objectstore_tool..log: file changed as we read it
  INFO:teuthology.orchestra.run.smithi107.stderr:tar: ./ceph-client.admin.175125.log: File removed before we read it

as the task moved on to archiving semi-corrupted and uncompressed logs,
filling up the lab cluster.

Revert that hunk, as Cluster.sh() is useless here -- we don't need
stdout or stderr, but very much need parallel execution and wait for
the compression to finish.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tasks/ceph.py