Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 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.