Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1788148

Summary: kube-controller-manager-operator metrics cannot be scraped in IPv6 cluster
Product: OpenShift Container Platform Reporter: Pawel Krupa <pkrupa>
Component: kube-controller-managerAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, mfojtik, scuppett
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:22: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:
Bug Depends On:    
Bug Blocks: 1790434    
Attachments:
Description Flags
must gather none

Description Pawel Krupa 2020-01-06 14:43:13 UTC
Created attachment 1650128 [details]
must gather

Description of problem:
In IPv6 cluster metrics from kube-controller-manager-operator cannot be scraped due to connection refused error

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-12-18-145749-ipv6.1

How reproducible:
Always

Steps to Reproduce:
1. Start a cluster
2. Go to prometheus UI -> targets (this needs to be done with port-forward, due to https://bugzilla.redhat.com/show_bug.cgi?id=1788135, cmd: "-n openshift-monitoring port-forward svc/prometheus-operated 9090")

Actual results:
`openshift-kube-controller-manager-operator/kube-controller-manager-operator/0` is DOWN


Expected results:
`openshift-kube-controller-manager-operator/kube-controller-manager-operator/0` is UP


Additional info:

Comment 3 zhou ying 2020-01-14 07:59:55 UTC
*** Bug 1790430 has been marked as a duplicate of this bug. ***

Comment 4 zhou ying 2020-03-24 04:39:54 UTC
Confirmed with payload 4.4.0-0.nightly-2020-03-23-010639, the issue has fixed:

1) one terminal use command:
`oc -n openshift-monitoring port-forward svc/prometheus-operated 9090`

2) Second terminal check:
[root@dhcp-140-138 ~]# curl -s http://localhost:9090/api/v1/targets  | jq  | grep "openshift-kube-controller-manager-operator/kube-controller-manager-operator/0" -C20 | grep "health"
        "health": "up"

Comment 6 errata-xmlrpc 2020-05-04 11:22: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, 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:0581