Description of problem:
Version-Release number of selected component (if applicable):
With scale >6000 hosts takes > 60 mins to complete foreman-debug
Need light weight foreman-debug
Steps to Reproduce:
1. foreman-debug takes longer time n
Have 150k foreman-tasks which might be taking long time to export.
*** Bug 1428363 has been marked as a duplicate of this bug. ***
Please backport also this small change: Foreman Issue #18348
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18348 has been resolved.
As a workaround, I suggest you to review old tasks cleanup configuration, it was broken in 6.2
See description in
By default it does not delete ANY tasks which are in error/failed/stuck state, therefore the queue can easily grow fast. In that case provide more aggressive deletion options.
Alternative workaround, delete this block
file and foreman-debug will be fast again.
This will be fixed in Satellite 6.3 where we only dump SQL data tables which is fast.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.