Project

General

Profile

Bug #14878

Task export shall add extracted log files in foreman-debug

Added by Lukas Zapletal about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-debug
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.

History

#1 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

#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.

#3 Updated by Lukas Zapletal almost 3 years ago

  • Bugzilla link set to 1373095

Also available in: Atom PDF