Bug 1843285 - Prometheus is not reporting router metrics
Summary: Prometheus is not reporting router metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ibm-roks-toolkit
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3.z
Assignee: Cesar Wong
QA Contact: Cesar Wong
URL:
Whiteboard:
: 1846043 (view as bug list)
Depends On: 1825029
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-03 00:54 UTC by OpenShift BugZilla Robot
Modified: 2020-06-23 20:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-23 20:58:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ibm-roks-toolkit pull 27 0 None closed [release-4.3] Add monitoring label to ingress namespace 2020-10-27 16:23:40 UTC
Red Hat Product Errata RHBA-2020:2585 0 None None None 2020-06-23 20:58:57 UTC

Description OpenShift BugZilla Robot 2020-06-03 00:54:42 UTC
+++ This bug was initially created as a clone of Bug #1825029 +++

Description of problem:
Router metrics are not getting scraped by Prometheus

How reproducible:
Always

Steps to Reproduce:
1. Run openshift e2e conformance against an IBM ROKS cluster

Actual results:
The following tests fail:
[Feature:Prometheus][Conformance] Prometheus when installed on the cluster should provide ingress metrics`,
[Conformance][Area:Networking][Feature:Router] The HAProxy router should enable openshift-monitoring to pull metrics`,


Expected results:
No tests fail

Additional info:

--- Additional comment from cewong on 2020-06-02 21:58:15 UTC ---

This is happening because the openshift-ingress namespace is missing the "openshift.io/cluster-monitoring: true" label.
We should be able to add this in the ibm-roks-toolkit code.

Comment 1 Cesar Wong 2020-06-10 16:17:40 UTC
*** Bug 1846043 has been marked as a duplicate of this bug. ***

Comment 4 Cesar Wong 2020-06-17 14:15:53 UTC
This is now fixed on the release-4.3 branch of the ibm-roks toolkit.

Comment 6 errata-xmlrpc 2020-06-23 20:58:40 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.

https://access.redhat.com/errata/RHBA-2020:2585


Note You need to log in before you can comment on or make changes to this bug.