Bug #14878
closedTask export shall add extracted log files in foreman-debug
Description
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
add_files /path/to/foreman-export/directory/*
Everything will be compressed, there is no need to create tarballs or compressed tarballs.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 114
Updated by Ivan Necas over 8 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.