Bug 1549518 - System page is being refreshed every 5s with insights enabled and non satellite admin user
Summary: System page is being refreshed every 5s with insights enabled and non satelli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: redhat-access-plugin-sat5
Version: 580
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Lindani Phiri
QA Contact: Radovan Drazny
URL:
Whiteboard:
Depends On:
Blocks: sat58-errata
TreeView+ depends on / blocked
 
Reported: 2018-02-27 10:39 UTC by Kenny Tordeurs
Modified: 2021-09-09 13:17 UTC (History)
10 users (show)

Fixed In Version: redhat-access-plugin-sat5-2.1.0-57.el6sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-15 21:46:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1565 0 None None None 2018-05-15 21:47:03 UTC

Description Kenny Tordeurs 2018-02-27 10:39:37 UTC
Description of problem:
If using any user that is not a Satellite administrator the "Red Hat access insights" keeps being refreshed on the Systems page every 5 seconds which prevents any usage of that page.

Version-Release number of selected component (if applicable):
# rpm -qa | grep satellite
satellite-schema-5.8.0.40-1.el6sat.noarch
satellite-repo-5.8.0.2-2.el6sat.noarch
satellite-branding-5.8.0.8-1.el6sat.noarch
satellite-doc-indexes-5.8.0-1.el6sat.noarch


How reproducible:
100%

Steps to Reproduce:
1. Create a user with following roles: Organization Administrator, Channel Administrator, Configuration Administrator, System Group Administrator, Activation Key Administrator
2. Login with the user 
3. Go to Systems page https://satellite.example.com/rhn/systems/SystemList.do

Actual results:
with non-Satellite admin user, keeps "Loading Red Hat Insights" on the top of the Systems page and it's refreshed every 5 seconds which makes the page completely useless.

Expected results:
Same behavior as for the Satellite admin user, the page not constantly being refreshed every 5s.

Additional info:

Comment 15 Lindani Phiri 2018-03-07 17:48:04 UTC
Patch is available in brew:

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=660451

Comment 24 Radovan Drazny 2018-04-03 12:59:44 UTC
Verified using the reproducer from the initial report with redhat-access-plugin-sat5-2.1.0-56.el6sat. The problem was present on https://<sat-server>/rhn/systems/Insights.do, for all "non-Red Hat Satellite Administrator" users, including admin users of both default and non-default orgs. 
After updating to redhat-access-plugin-sat5-2.1.0-57.el6sat, the pages worked as expected, and I haven't encountered any automatic refreshes.

VERIFIED

Comment 30 errata-xmlrpc 2018-05-15 21:46:38 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, 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/RHEA-2018:1565


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