Bug 2021016

Summary: 'Prometheus Stats' of dashboard 'Prometheus Overview' miss data on console compared with Grafana
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: amuller, anpicker, aos-bugs, erooth, jfajersk
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:25:33 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 hongyan li 2021-11-08 05:38:23 UTC
Description of problem:
the instances under Grafana 'Prometheus Overview' dashboard are not prometheus instances

Version-Release number of selected component (if applicable):
4.10.0-0.nightly-2021-11-04-001635

How reproducible:
always

Steps to Reproduce:
1. Go to Admin Console-->Observe
2. Click Dashboards and choose dashboard 'Prometheus / Overview'
3. Check data of 'Prometheus Stats'
4. Check same data on Grafana dashboard 'Prometheus / Overview'

Actual results:
the instances under Grafana 'Prometheus Overview' dashboard shows all servicemonitors include prometheus-k8s/prometheus-user-workload instances.
Admin Console "Observe -> Dashboards" dashboard 'Prometheus / Overview' only shows the prometheus-k8s/prometheus-user-workload instances

Expected results:
See same data on console and grafana


Additional info:
detail see screenshot

Comment 3 hongyan li 2021-11-08 08:03:09 UTC
*** Bug 2021014 has been marked as a duplicate of this bug. ***

Comment 7 hongyan li 2021-11-15 06:27:58 UTC
Checked in payload 4.10.0-0.nightly-2021-11-14-184249, issue is fixed. 

But facing same issue as bug https://bugzilla.redhat.com/show_bug.cgi?id=2016925, will check when verify the bug.

Comment 10 errata-xmlrpc 2022-03-10 16:25:33 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.10.3 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-2022:0056