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

Bug 1812877

Summary: fixes configmap "extension-apiserver-authentication" not found
Product: OpenShift Container Platform Reporter: Lukasz Szaszkiewicz <lszaszki>
Component: kube-apiserverAssignee: Lukasz Szaszkiewicz <lszaszki>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, mfojtik, nmalik, sttts, xxia, yprokule
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:
: 1812878 1813847 (view as bug list) Environment:
Last Closed: 2020-05-04 11:45:48 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: 1812878    
Bug Blocks: 1813847    

Description Lukasz Szaszkiewicz 2020-03-12 12:17:21 UTC
we need to move https://github.com/kubernetes/kubernetes/pull/88763 so that errors like configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found will not be printed at the server startup.

Comment 1 Lukasz Szaszkiewicz 2020-03-13 08:28:30 UTC
Xingxing I think that in order to to verify just make sure that the server doesn't print "configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found" at the startup.

Comment 4 Ke Wang 2020-03-27 08:45:38 UTC
@Lukasz, I checked the PR has been merged into build 4.4.0-0.nightly-2020-03-26-041820, but failed to verify, see below,

$ oc adm release info --commits registry.svc.ci.openshift.org/ocp/release:4.4.0-0.nightly-2020-03-26-041820 | grep ose
  hyperkube        https://github.com/openshift/ose       1140645a27b9f11717f70b6b74efb1b09ca7d089

$ git log --date local --pretty="%h %an %cd - %s" 1140645 | grep '#24677'
b80bcf408b OpenShift Merge Robot Sat Mar 14 15:16:54 2020 - Merge pull request #24677 from p0lyn0mial/pick-88763-clean-up-dynamiccert-pkg-4.4

$ master=$(oc get nodes | grep master | head -1 | cut -d " " -f1)
$ oc debug node/$master
...

sh-4.2# chroot /host
sh-4.4# cd /var/log/pods

sh-4.4# grep -nr 'unable to load initial CA bundle for' openshift*

openshift-apiserver_apiserver-688558b7ff-bthkn_fabfe150-5354-43ae-beb3-5ceea5ddc2df/openshift-apiserver/0.log:2:2020-03-27T07:54:36.857271015+00:00 stderr F W0327 07:54:36.857146       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found
openshift-apiserver_apiserver-688558b7ff-bthkn_fabfe150-5354-43ae-beb3-5ceea5ddc2df/openshift-apiserver/0.log:3:2020-03-27T07:54:36.857324431+00:00 stderr F W0327 07:54:36.857295       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file" due to: configmap "extension-apiserver-authentication" not found
openshift-insights_insights-operator-fbd76b678-v8d47_d3e9dbc2-5795-4438-a19b-3f1ccbf86a9a/operator/0.log:9:2020-03-27T01:33:54.314437640+00:00 stderr F W0327 01:33:54.303657       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found
openshift-insights_insights-operator-fbd76b678-v8d47_d3e9dbc2-5795-4438-a19b-3f1ccbf86a9a/operator/0.log:10:2020-03-27T01:33:54.314437640+00:00 stderr F W0327 01:33:54.303826       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file" due to: configmap "extension-apiserver-authentication" not found
openshift-insights_insights-operator-fbd76b678-v8d47_d3e9dbc2-5795-4438-a19b-3f1ccbf86a9a/operator/1.log:9:2020-03-27T01:38:57.456065500+00:00 stderr F W0327 01:38:57.456025       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found
openshift-insights_insights-operator-fbd76b678-v8d47_d3e9dbc2-5795-4438-a19b-3f1ccbf86a9a/operator/1.log:10:2020-03-27T01:38:57.456222208+00:00 stderr F W0327 01:38:57.456201       1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file" due to: configmap "extension-apiserver-authentication" not found

From above, we can see the fix does not work as expected.

Comment 5 Lukasz Szaszkiewicz 2020-03-27 09:02:12 UTC
@Ke the fix only improved "kube-apiserver" not "openshift-apiserver". Could you check the former?

Comment 6 Ke Wang 2020-03-27 10:23:27 UTC
@Lukasz, I checked again, 

sh-4.4# grep -nr 'unable to load initial CA bundle for' openshift-kube-apiserver*
sh-4.4#

Nothing found for "kube-apiserver".

So there should be one bug to track the "openshift-apiserver"?

Comment 7 Lukasz Szaszkiewicz 2020-03-27 11:22:44 UTC
@Ke yeah, "openshift-apiserver" will be tracked in a seperate issue (I'm going to add one"). Thanks for pointing that out.

Comment 8 Lukasz Szaszkiewicz 2020-03-30 16:28:48 UTC
@Ke OAS will be tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1814207

Comment 9 Ke Wang 2020-03-31 02:37:37 UTC
@Lukasz, thank you for your reminder, will verify it later.

Comment 11 errata-xmlrpc 2020-05-04 11:45:48 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