Bug 1820517 - [service-ca]fixes configmap "extension-apiserver-authentication" not found
Summary: [service-ca]fixes configmap "extension-apiserver-authentication" not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: service-ca
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.5.0
Assignee: Stefan Schimanski
QA Contact: Ke Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-03 09:21 UTC by Ke Wang
Modified: 2020-08-04 18:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1812878
Environment:
Last Closed: 2020-08-04 18:04:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 24719 0 None closed Rebase 1.18.0 rc.1 2020-09-04 10:20:00 UTC
Github openshift service-ca-operator pull 115 0 None closed Bug 1826230: kubernetes 1.18 rebase 2020-09-04 10:19:55 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-08-04 18:04:05 UTC

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


Note You need to log in before you can comment on or make changes to this bug.