Bug 1788139

Summary: Operator metrics cannot be scraped in IPv6 cluster
Product: OpenShift Container Platform Reporter: Pawel Krupa <pkrupa>
Component: openshift-apiserverAssignee: Michal Fojtik <mfojtik>
Status: CLOSED ERRATA QA Contact: Xingxing Xia <xxia>
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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1790442 (view as bug list) 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: 1790442    
Attachments:
Description Flags
must gather none

Description Pawel Krupa 2020-01-06 14:24:40 UTC
Created attachment 1650122 [details]
must gather

Description of problem:
In IPv6 cluster metrics from apiserver-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-apiserver-operator/openshift-apiserver-operator/0` is DOWN


Expected results:
`openshift-apiserver-operator/openshift-apiserver-operator/0` is UP


Additional info:

Comment 3 Xingxing Xia 2020-03-24 09:08:28 UTC
Verified in ipv6 4.4.0-0.nightly-2020-03-23-010639 env, is up now:
openshift-apiserver-operator/openshift-apiserver-operator/0 (1/1 up)
https://[fd01::1:68f4:caff:fe00:50]:8443/metrics  up  endpoint="https" instance="[fd01::1:68f4:caff:fe00:50]:8443" job="metrics" namespace="openshift-apiserver-operator" pod="openshift-apiserver-operator-6997786c68-v82ld" service="metrics"

Comment 5 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