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

Bug 1820517

Summary: [service-ca]fixes configmap "extension-apiserver-authentication" not found
Product: OpenShift Container Platform Reporter: Ke Wang <kewang>
Component: service-caAssignee: Stefan Schimanski <sttts>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, lszaszki, mfojtik, scheng, xxia
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1812878 Environment:
Last Closed: 2020-08-04 18:04:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ke Wang 2020-04-03 09:21:28 UTC
+++ This bug was initially created as a clone of Bug #1812878 +++

+++ This bug was initially created as a clone of Bug #1812877 +++

In 4.5.0-0.nightly-2020-04-03-003232 service-ca-operator log also has same issue:

$ oc logs service-ca-operator-66c57bf95f-gbb9d -n openshift-service-ca-operator | grep 'configmap "extension-apiserver-authentication" not found'

W0403 07:20:08.246735       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
W0403 07:20:08.247042       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

To verified if the log occurred the pod starting up, tried the following,

$ oc delete pod service-ca-operator-66c57bf95f-gbb9d -n openshift-service-ca-operator --force --grace-period=0
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
pod "service-ca-operator-66c57bf95f-gbb9d" force deleted

$ oc get pods -A |grep service-ca-operator
openshift-service-ca-operator                      service-ca-operator-66c57bf95f-wzqf5                                 1/1     Running     0          20s

$ oc logs service-ca-operator-66c57bf95f-wzqf5 -n openshift-service-ca-operator | grep 'configmap "extension-apiserver-authentication" not found'

W0403 09:15:06.704976       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
W0403 09:15:06.705103       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

We can see the above message will be printed at the pod startup.

It is an issue worth to address. To avoid similar problem just like https://bugzilla.redhat.com/show_bug.cgi?id=1813911

Comment 1 Ke Wang 2020-04-03 09:28:36 UTC
Another related pod also has the same problem,

$ oc logs service-ca-7d4888fdd4-tsgf6 -n openshift-service-ca | grep 'configmap "extension-apiserver-authentication" not found'

W0403 07:20:10.584100       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
W0403 07:20:10.584436       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

Comment 2 Lukasz Szaszkiewicz 2020-04-14 09:18:07 UTC
the fix was included in the latest rebase (upstream 1.18)

Comment 8 Ke Wang 2020-05-12 04:28:05 UTC
Verified with OCP build 4.5.0-0.nightly-2020-05-11-225223,

To verify if the log occurred the pod starting up, tried the following,

$ oc delete pod service-ca-operator-68bf9c867-4zsv6 -n openshift-service-ca-operator --force --grace-period=0
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
pod "service-ca-operator-68bf9c867-4zsv6" force deleted

$  oc get pods -A |grep service-ca-operator
openshift-service-ca-operator                      service-ca-operator-68bf9c867-8fgb6                                    1/1     Running     0          12s

$ oc logs service-ca-operator-68bf9c867-8fgb6 -n openshift-service-ca-operator | grep 'configmap "extension-apiserver-authentication" not found'

No results found, so move the bug verified.

Comment 10 errata-xmlrpc 2020-08-04 18:04:03 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.5 image release 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:2409