Bug 1644544 - [3.9] Should remove router endpoints targets from kubernetes-service-endpoints
Summary: [3.9] Should remove router endpoints targets from kubernetes-service-endpoints
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.z
Assignee: Paul Gier
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1644546
TreeView+ depends on / blocked
 
Reported: 2018-10-31 06:00 UTC by Junqi Zhao
Modified: 2018-12-13 19:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Prometheus was automatically discovering two separate scrape endpoints for the kubernetes router. Consequence: One of the endpoints was not able to be scraped due to missing auth config. This appeared as a failing scrape in the prometheus status. Fix: Removed duplicate prometheus scrape endpoint for kubernetes router. Result: Prometheus only scrapes a single, working endpoint for the kubernetes router.
Clone Of:
: 1644546 (view as bug list)
Environment:
Last Closed: 2018-12-13 19:27:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
router endpoints are shown both under kubernetes-service-endpoints and openshift-router (181.87 KB, image/png)
2018-10-31 06:00 UTC, Junqi Zhao
no flags Details
prometheus configuration file (9.88 KB, text/plain)
2018-10-31 06:02 UTC, Junqi Zhao
no flags Details
prometheus configuration 39 file (9.88 KB, text/plain)
2018-10-31 06:07 UTC, Junqi Zhao
no flags Details
prometheus configuration 311 file for referrence (9.84 KB, text/plain)
2018-10-31 06:08 UTC, Junqi Zhao
no flags Details
router endpoints targets are removed from kubernetes-service-endpoints target (123.67 KB, image/png)
2018-11-13 02:17 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3748 0 None None None 2018-12-13 19:27:27 UTC

Description Junqi Zhao 2018-10-31 06:00:58 UTC
Created attachment 1499214 [details]
router endpoints are shown both under kubernetes-service-endpoints and openshift-router

Should remove router endpoints targets from kubernetes-service-endpoints
Description of problem:
See the attached picture, router endpoints(http://172.18.0.17:1936/metrics, http://172.18.13.146:1936/metrics) are shown both under kubernetes-service-endpoints and openshift-router, router endpoints should only be shown under openshift-router

Version-Release number of selected component (if applicable):
prometheus v3.9.49-1

How reproducible:
Always

Steps to Reproduce:
1. Deploy prometheus v3.9.49-1 and check /targets page
2.
3.

Actual results:
router endpoints are shown both under kubernetes-service-endpoints and openshift-router

Expected results:
router endpoints should only be shown under openshift-router

Additional info:

Comment 1 Junqi Zhao 2018-10-31 06:02:39 UTC
Created attachment 1499215 [details]
prometheus configuration file

Comment 2 Junqi Zhao 2018-10-31 06:07:52 UTC
Created attachment 1499216 [details]
prometheus configuration 39 file

Comment 3 Junqi Zhao 2018-10-31 06:08:36 UTC
Created attachment 1499217 [details]
prometheus configuration 311 file for referrence

Comment 5 Vadim Rutkovsky 2018-11-12 11:40:39 UTC
Fix is available in openshift-ansible-3.9.51-1

Comment 6 Junqi Zhao 2018-11-13 02:17:23 UTC
Issue is fixed in openshift-ansible-3.9.51-1, router endpoints targets are removed from kubernetes-service-endpoints target

Comment 7 Junqi Zhao 2018-11-13 02:17:57 UTC
Created attachment 1505048 [details]
router endpoints targets are removed from kubernetes-service-endpoints target

Comment 10 errata-xmlrpc 2018-12-13 19:27:16 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-2018:3748


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