Rename compressed text based files to end with txt.gz extension getting skipped on rdo jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
In almost all the jobs running on review.
It is making user experience miserable.
---
TASK [collect-logs : Rename compressed text based files to end with txt.gz extension] ***
task path: /home/zuul/
Thursday 10 December 2020 07:24:52 +0000 (0:00:00.077) 0:02:06.726 *****
skipping: [undercloud] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
---
and logs files: https:/
and another example:
https:/
The above code is executed as a part of https:/
and the same config is present in https:/
artcl_txt_rename: true
not sure what is causing, logging the bug for further investigation
IMHO we should not change the collection logic in order to accommodate what seems to be a hosting configuration issue. Instead this should be addressed at RDO logserver config.
In fact I would say that we should not even pre-compress the files, compression at rest is something that should be done transparently by log server. It is a known issue, raised several times during the last years and every time we were asked to implement workarounds like these which cause more problem than resolving.
For example the already existing upload-logs-s3 role already uploads files while compressing them on the fly and keeping them compressed at rest on S3. Still, the files are served correctly to the user.
The user never sees a ".gz" url, it just grabs the file and the server (S3) will serve that file using correct headers and a compresses stream.
That is a low-overhead and low-cost solution that is transparent. maybe we should just switch to use S3 until RDO is upgraded.