Bug 1745146

Summary: Report Template "Applicable Errata" fails for large numbers of Content Hosts
Product: Red Hat Satellite Reporter: Dylan Gross <dgross>
Component: ReportingAssignee: Ondřej Ezr <oezr>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.5.0CC: ahumbe, bkearney, ikaur, inecas, jhutar, mhulan, oezr, thadzhie, wpinheir
Target Milestone: UnspecifiedKeywords: EasyFix, Performance, PrioBumpField, PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-19 14:50:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dylan Gross 2019-08-23 17:37:19 UTC
Description of problem:

  The "Applicable Errata" report template fails when run against a large number of hosts.  (Approximately 17,000).   It runs for about 12 hours, until it finally ends with a "500 Internal Server error".  (Maybe that 12 hours is a timeout wall?)

  When smaller numbers 

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

  Red Hat Satellite 6.5.2

How reproducible:
Steps to Reproduce:
1.   In the WebUI:  "Monitor"->"Report Templates"->"Applicable Errata"
2.   In the Hosts Filter, specify a search string to match a large number of hosts.  Leave errata filter blank
3.   Submit

Actual results:

   Small numbers return in reasonable amount of time
   Large searches take impossibly long to report

Expected results:

   Reports generate or at least complete in reasonable amount of time.  (i.e. not erroring after 12 hours of waiting to return)

Comment 15 Shira Maximov 2020-06-01 10:24:56 UTC
Created redmine issue https://projects.theforeman.org/issues/29970 from this bug

Comment 18 Bryan Kearney 2020-10-12 20:05:12 UTC
Upstream bug assigned to oezr

Comment 19 Bryan Kearney 2020-10-12 20:05:15 UTC
Upstream bug assigned to oezr

Comment 23 Bryan Kearney 2021-11-22 16:01:29 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/29970 has been resolved.

Comment 26 Ondřej Ezr 2022-01-26 22:08:53 UTC
This was missaligned upstream as it was not closed by the merge and only got aligned to 3.2, but actually landed in 2.3, so it is already included in Sat 6.9

Comment 32 thadzhie 2022-09-19 14:50:33 UTC
We have considered this BZ during a triage and since some work has already been done and no feedback has been received, we consider the work being done enough.