Bug 1967713

Summary: Insights widget shows invalid link to the OCM
Product: OpenShift Container Platform Reporter: Georgii Karataev <gkaratae>
Component: Insights OperatorAssignee: Georgii Karataev <gkaratae>
Status: CLOSED ERRATA QA Contact: ireyes
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: cluster is not registered in OCM/does not have an external ID assigned Consequence: invalid OCM link in the Insights widget in WebConsole Fix: treat the case when the widget does not about external cluster ID Result: the widget shows an OCM link pointing right to the cluster if the ID is present, otherwise to the OCM landing page
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:11:27 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 Georgii Karataev 2021-06-03 16:58:13 UTC
Description of problem:
While external cluster-ID is unavailable for some reason, the Insights widget renders an invalid URL to the OCM.

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-09-222447

How reproducible:
Often

Steps to Reproduce:
1. Open a cluster that is not registered in OCM/does not have an external cluster-ID
2. The widget shows a wrong link to the OCM
3.

Actual results:
The Insights widget renders an invalid URL to the OCM.

Expected results:
The Insights widget points a user with the valid URL

Additional info:

Comment 4 errata-xmlrpc 2021-07-27 23:11:27 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