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 1428363 - foreman-debug to call something faster than task export
Summary: foreman-debug to call something faster than task export
Keywords:
Status: CLOSED DUPLICATE of bug 1416119
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.2.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-02 12:19 UTC by Pavel Moravec
Modified: 2017-03-02 12:20 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-02 12:20:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18231 0 Normal Resolved Foreman-debug task export is too slow 2020-01-27 16:02:58 UTC

Description Pavel Moravec 2017-03-02 12:19:02 UTC
Description of problem:
Please replace taking task export within foreman-debug by something much more faster. Since:

- data from task export is very important for debugging problems
- task export itself can take arbitrary long time (even few hours). That is unusable when support needs to get that data
- when calling sosreport, foreman-debug times out due to the lengthy task export, causing collected foreman-debug data are very concise / much of them missing

There has been work:

https://github.com/Katello/katello-packaging/pull/329

replacing the rake script by postgres dump with pre-agreed option. Reimport of the dumps can be done via:

https://github.com/Katello/katello-packaging/pull/329#issuecomment-278971784

Please do:
- replace task export by the pgsql dumps in katello-debug.sh
- incorporate the inecas's script into Satellite (such that any Satellite can load "task export" from another Satellite)


Version-Release number of selected component (if applicable):
6.2.7


How reproducible:
100%


Steps to Reproduce:
0. have Satellite with tens of thousands of tasks
1. take foreman-debug / task export
2. calculate time it takes


Actual results:
2. many (tens of) minutes to get task export / foreman-debug


Expected results:
2. task export replacement / foreman-debug to take considerably low time
3. be able to "visualise" in human readable UI the task export (like inecas's script, not necessarily that particular)


Additional info:
http://projects.theforeman.org/issues/18231

Comment 1 Pavel Moravec 2017-03-02 12:20:29 UTC
I am blind..

*** This bug has been marked as a duplicate of bug 1416119 ***


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