Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1373095 - Task export shall add extracted log files in foreman-debug
Summary: Task export shall add extracted log files in foreman-debug
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Adam Ruzicka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-05 07:22 UTC by Lukas Zapletal
Modified: 2019-04-01 20:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-23 11:48:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14878 0 None None None 2016-09-05 08:02:26 UTC
Red Hat Bugzilla 1274694 1 None None None 2024-06-13 20:39:10 UTC
Red Hat Bugzilla 1370224 0 high CLOSED foreman-debug does not properly collect foreman-tasks export 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1416119 0 medium CLOSED [RFE] foreman-debug takes > 1 hour to complete at scale 2021-09-09 12:08:36 UTC

Internal Links: 1274694 1370224 1416119

Description Lukas Zapletal 2016-09-05 07:22:36 UTC
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.

TRIAGE NOTES: We need to backport this to improve debug experience for 6.2.

See also: https://bugzilla.redhat.com/show_bug.cgi?id=1274694

Comment 3 Bryan Kearney 2016-09-05 10:19:03 UTC
Upstream bug assigned to inecas

Comment 4 Bryan Kearney 2016-09-05 10:19:05 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/14878 has been resolved.

Comment 5 Adam Ruzicka 2017-08-23 11:48:56 UTC
This is not relevant anymore, 6.3 dropped task export in favor of csv export[1], 6.2.z has this fixed and verified as [2]

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1416119
[2] - https://bugzilla.redhat.com/show_bug.cgi?id=1370224


Note You need to log in before you can comment on or make changes to this bug.