Task export shall add extracted log files in foreman-debug
Task exported creates a tar.gz file which is then added to foreman-debug via add_file statement, but the contract requires only plain text (log) files to be added. There is additional filtering going on underneath, which fails for tarballs creating an output file in invalid format (broken tar).
We need to change the task export foreman-debug statement to create those files unextracted. They can be added all via
Everything will be compressed, there is no need to create tarballs or compressed tarballs.
#2 Updated by Ivan Necas about 3 years ago
- Status changed from New to Closed
- Pull request https://github.com/Katello/katello-packaging/pull/150 added
The issue was actually fixed in https://github.com/Katello/katello-packaging/pull/150, by copying the files rather than using the add_files. The add_files is not really working for us, as the exported task data have structure so trimming is not wanted.