Bug 1960686

Summary: GlobalConfigPage is constantly requesting resources
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, rhamilto, yanpzhan, yapei
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Fixes an issue where the Administration -> Cluster Settings -> Global configuration page in the web console would make repeated, unnecessary HTTP requests for the configuration resources.
Story Points: ---
Clone Of: 1960683 Environment:
Version: 4.8.0-0.nightly-2021-05-13-222446 Cluster ID: cb9bc5ec-ad4e-462c-81bc-3fa903fcd3ae Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Last Closed: 2021-06-15 09:28:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1960683    
Bug Blocks:    

Description Samuel Padgett 2021-05-14 15:09:29 UTC
+++ This bug was initially created as a clone of Bug #1960683 +++

Description of problem:  The Cluster Settings > Global Config page is incessantly requesting resources.  Eventually, the constant stream of requests overwhelms the browser and the page becomes unresponsive.


Steps to Reproduce:
1.  Go to /settings/cluster/globalconfig
2.  Open the Inspector and go to the Network tab
3.  Note the constant stream of resource requests

Sam suspects this is the result of https://github.com/TheRealJon/console/blob/ecc0236c4b4c3665c4b42030e704b52a8e680509/frontend/public/components/cluster-settings/global-config.tsx#L63-L66 being different every time.

Comment 4 Yadan Pei 2021-06-08 03:45:25 UTC
Confirmed the fix was merged in 4.7.0-0.nightly-2021-06-07-203428, since testing has been done prior merging moving to VERIFIED

Comment 6 errata-xmlrpc 2021-06-15 09:28:05 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: OpenShift Container Platform 4.7.16 security and bug fix update), 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:2286