Bug 1775379

Summary: Clicking the Prometheus UI link does not open anything under the metrics menu. Missing HREF tag.
Product: OpenShift Container Platform Reporter: okashi
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, hasha, jokerman, juzhao, spadgett, yanpzhan
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:13:47 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:
Description Flags
Where the link is located none

Description okashi 2019-11-21 20:09:54 UTC
Created attachment 1638572 [details]
Where the link is located

Description of problem: After clicking Monitoring > Metrics > Prometheus UI nothing happens.

Version-Release number of selected component (if applicable): 4.2.4

How reproducible: In the left menu click Monitoring > Metrics > Prometheus UI nothing happens.

Steps to Reproduce:
1. in the left menu click on Monitoring
2. click Metrics
3. click "Prometheus UI" on the metrics page that opens.

Actual results: Not Clickable.  Link seems to be missing HREF tag

Expected results: Open the Prometheus UI

Additional info:

Comment 2 shahan 2019-11-25 04:25:09 UTC
  Since Prometheus was installed by default, how can i make the Prometheus route to be undiscovered for web console? I tried to remove Prometheus route and the link still show up on the monitoring page.

Comment 5 Yanping Zhang 2019-11-27 07:11:37 UTC
Thanks very much, @juzhao

Payload: 4.3.0-0.nightly-2019-11-26-171052
Check "Monitoring"->"Metrics" page on console, click "Prometheus UI" link, will open prometheus console correctly.
Do some modifies:
1.# oc -n openshift-cluster-version scale deploy cluster-version-operator --replicas=0
2.# oc -n openshift-monitoring scale deploy cluster-monitoring-operator --replicas=0
3.# oc -n openshift-monitoring edit cm  sharing-config
  Update "prometheusURL" as null.
4. Then check "Monitoring"->"Metrics" page. There is no "Prometheus UI" link shown now.
The bug has been fixed.

Comment 7 errata-xmlrpc 2020-01-23 11:13:47 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.