Bug 1870922

Summary: oc get PodNetworkConnectivityCheck -n openshift-apiserver has no resource
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: openshift-apiserverAssignee: Luis Sanchez <sanchezl>
Status: CLOSED ERRATA QA Contact: Xingxing Xia <xxia>
Severity: high Docs Contact:
Priority: medium    
Version: 4.6CC: ahoffer, aos-bugs, mfojtik
Target Milestone: ---Keywords: Regression
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:30:14 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 Xingxing Xia 2020-08-21 03:53:47 UTC
Description of problem:
Now openshift-kube-apiserver and openshift-apiserver pods have a new container called "*-check-endpoints" which is responsible for PodNetworkConnectivityCheck. But `oc get PodNetworkConnectivityCheck -n openshift-apiserver` has no resource.

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-08-21-011653

How reproducible:
Always

Steps to Reproduce:
1. $ oc get PodNetworkConnectivityCheck -n openshift-kube-apiserver
NAME                                                                                             AGE
kube-apiserver-xxia821a-zj9zv-master-0-to-etcd-server-localhost                                  75m
...

$ oc get PodNetworkConnectivityCheck -n openshift-apiserver
No resources found in openshift-apiserver namespace.

Actual results:
1. OAS namespace has none.

Expected results:
1. OAS namespace should have like KAS. As per the slides in MSTR-1036 "Key Network Connections Between openshift-apiserver and ..." and the Description in MSTR-1008 "Network check is wired into openshift-apiserver (MUST)", openshift-apiserver should have too. And https://github.com/openshift/openshift-docs/pull/24927/files says "This resource keeps track of the latest reachable condition, the last 10 successes ..."

Additional info:

Comment 1 Xingxing Xia 2020-08-21 03:55:04 UTC
Adding "Regression" Keyword because I remember OAS also had when I first looked at the slides of MSTR-1036 and gave a try.

Comment 2 Xingxing Xia 2020-08-21 03:56:05 UTC
So either it is a functional bug, or a Slides and Doc bug.

Comment 5 Xingxing Xia 2020-08-26 11:48:53 UTC
Verified in 4.6.0-0.nightly-2020-08-26-060336:
$ oc get PodNetworkConnectivityCheck -n openshift-kube-apiserver
apiserver-zhsun826gcp-lxqxk-master-0.c.openshift-qe.internal-to-etcd-server-zhsun826gcp-lxqxk-master-0.c.openshift-qe.internal                     65m
...
apiserver-zhsun826gcp-lxqxk-master-2.c.openshift-qe.internal-to-load-balancer-api-internal                                                         65m

Comment 7 errata-xmlrpc 2020-10-27 16:30:14 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 (OpenShift Container Platform 4.6 GA Images), 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:4196