Bug 1967234

Summary: Console is continuously polling for ConsoleLink acm-link
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: David Taylor <dtaylor>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.8.0-0.nightly-2021-06-02-025513 Cluster ID: 42a48920-049e-4386-8a22-dc267b14a7b2 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0
Last Closed: 2021-07-27 23:11:18 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:
Attachments:
Description Flags
Network requests none

Description Samuel Padgett 2021-06-02 16:30:12 UTC
Created attachment 1788732 [details]
Network requests

The console frontend keeps trying to get the ConsoleLink acm-link. When it doesn't exist, it will 404. Console should stop polling.

We should fix this in 4.8 since it creates a lot of noise in the logs. We've had similar issues around ClusterVersion in the past, which generated a number of bug reports.

Comment 2 Yadan Pei 2021-06-09 09:26:45 UTC
Search in browser console tab, following request is not found
"""
Failed to load resource: the server responded with a status of 404 (Not Found) https://<console_route>/api/kubernetes/apis/console.openshift.io/v1/consolelinks/acm-console-link
"""

Now we watch for consolelinks
websocket open: /api/kubernetes/apis/console.openshift.io/v1/consolelinks?watch=true&resourceVersion=279066

when acm-console-link is added, we watch acm-console-link
websocket open: /api/kubernetes/apis/console.openshift.io/v1/consolelinks?watch=true&fieldSelector=metadata.name%3Dacm-console-link


In this way, there is no large number of `404 Not Found` errors and still function the same, verified on  4.8.0-0.nightly-2021-06-09-000526

Comment 5 errata-xmlrpc 2021-07-27 23:11:18 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.8.2 bug fix and security 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:2438