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 1844972 - Audit page render very slow when organization is set
Summary: Audit page render very slow when organization is set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.10.0
Assignee: Hao Chang Yu
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-08 07:29 UTC by Hao Chang Yu
Modified: 2024-10-01 16:38 UTC (History)
16 users (show)

Fixed In Version: foreman-2.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1962828 (view as bug list)
Environment:
Last Closed: 2021-11-16 14:09:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30053 0 Normal New Audit page render very slow when organization is set 2021-02-14 22:17:40 UTC
Github theforeman foreman pull 7728 0 None closed Fixes #30053 - Audit page render slow when organization is set 2021-02-14 22:17:41 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:09:23 UTC

Description Hao Chang Yu 2020-06-08 07:29:25 UTC
Description of problem:
Audit page render very slow when organization is set even only 20 records per page.

2020-06-08T07:24:11 [I|app|6ec3a037] Started GET "/audits?page=1&per_page=20&search=" for 10.64.54.43 at 2020-06-08 07:24:11 +0000
2020-06-08T07:24:11 [I|app|6ec3a037] Processing by AuditsController#index as JSON
2020-06-08T07:24:11 [I|app|6ec3a037]   Parameters: {"page"=>"1", "per_page"=>"20", "search"=>""}
2020-06-08T07:24:43 [I|app|6ec3a037] Completed 200 OK in 32188ms (Views: 30.9ms | ActiveRecord: 30341.6ms)  <======== Took 32 seconds to load

# select count(*) from audits;
 count 
-------
 76620
(1 row)

# select count(*) from taxable_taxonomies where taxable_type = 'Audited::Audit';
 count  
--------
 125586

Comment 3 Ramesh Daryani 2021-02-24 07:44:09 UTC
Any update on this bug?  Today, I realized that post satellite 6.8.3 upgrade when I tried to load Monitor --> Audits it doesn't show any results and keep doing something at the backend.  If its a known issue with satellite 6.8.3 then please share.

Comment 8 Bryan Kearney 2021-03-31 16:05:36 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30053 has been resolved.

Comment 11 wclark 2021-05-19 23:29:48 UTC
HOTFIX is available for Satellite 6.8.6. To install the Hotfix, please follow the below instructions.

1. Since the Hotfix RPM is too large to be provided as a Bugzilla attachment, please open a case with Red Hat Technical Support to request the Hotfix RPM

2. Take a complete backup or snapshot of your Satellite server

3. Copy the Hotfix RPM to Satellite server

4. # rpm -Uvh --nodeps /root/foreman-2.1.2.26-2.HOTFIX_RHBZ_1844972.el7sat.noarch.rpm

5. # satellite-maintain service restart

Comment 13 Roman Plevka 2021-06-15 07:11:00 UTC
clearing the needinfo flag as this was addressed by comment #11

Comment 17 errata-xmlrpc 2021-11-16 14:09:12 UTC
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 (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702

Comment 18 Red Hat Bugzilla 2023-09-15 00:32:33 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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