Project

General

Profile

Actions

Bug #14878

closed

Task export shall add extracted log files in foreman-debug

Added by Lukas Zapletal almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
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.

Actions #1

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 114
Actions #2

Updated by Ivan Necas almost 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.

Actions #3

Updated by Lukas Zapletal over 7 years ago

  • Bugzilla link set to 1373095
Actions

Also available in: Atom PDF