Enable compression option and tar on xfer prior to publish
When collecting logs of many nodes and storing them on
the primary nodepool node or slave it makes sense
to compress the files, tar and send. Pretty standard
logic there. In upstream the default remains not
to compress prior to tar or prior to publish. There
is a sunk time cost in compressing and uncompressing.
Note: this removes the optional logic to compress
based on file size as it make more sense to compress
all the files prior to the tar and xfer to the
primary node / slave for faster results.
Reviewed: https:/ /review. opendev. org/706797 /git.openstack. org/cgit/ openstack/ ansible- role-collect- logs/commit/ ?id=e2bccc1bb12 ddebc0b34edf48f 5b56ea5533dc5f
Committed: https:/
Submitter: Zuul
Branch: master
commit e2bccc1bb12ddeb c0b34edf48f5b56 ea5533dc5f
Author: Sagi Shnaidman <email address hidden>
Date: Mon Feb 10 13:04:47 2020 +0200
Enable compression option and tar on xfer prior to publish
When collecting logs of many nodes and storing them on
the primary nodepool node or slave it makes sense
to compress the files, tar and send. Pretty standard
logic there. In upstream the default remains not
to compress prior to tar or prior to publish. There
is a sunk time cost in compressing and uncompressing.
Note: this removes the optional logic to compress
based on file size as it make more sense to compress
all the files prior to the tar and xfer to the
primary node / slave for faster results.
Signed off by Wes Hayutin.
Close-Bug: #1862612 fba184f311a3a4b 1c64a42a6d2
Change-Id: I550e5c5ead7f65