Bug 1811062 - KCM and KS do not live reload client certificates
Summary: KCM and KS do not live reload client certificates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-controller-manager
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.4.0
Assignee: Tomáš Nožička
QA Contact: zhou ying
URL:
Whiteboard:
Depends On: 1811061
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-06 14:25 UTC by Tomáš Nožička
Modified: 2020-05-04 11:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1811061
Environment:
Last Closed: 2020-05-04 11:45:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 24647 0 None closed [release-4.4] Bug 1811062: UPSTREAM: 79083: Add ability to reload client certificates from disk 2020-04-17 09:11:54 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:45:29 UTC

Description Tomáš Nožička 2020-03-06 14:25:13 UTC
+++ This bug was initially created as a clone of Bug #1811061 +++

We need KCM and KS to be able to reload certificates so it can recover when cert regeneration controller fixes the cert in the API and certsyncer downloads them.

Comment 3 zhou ying 2020-03-17 06:30:48 UTC
Confirmed with payload: 4.4.0-0.nightly-2020-03-15-215151, when set certificate rotation time to 15 mins, check the operator not rollout when certificate rotation:

[root@dhcp-140-138 ~]# openssl s_client -connect api.yinzhou-0316-4.qe.devcluster.openshift.com:6443 |openssl x509 -noout -dates
depth=1 OU = openshift, CN = kube-apiserver-lb-signer
verify error:num=19:self signed certificate in certificate chain
verify return:1
depth=1 OU = openshift, CN = kube-apiserver-lb-signer
verify return:1
depth=0 CN = api.yinzhou-0316-4.qe.devcluster.openshift.com
verify return:1
notBefore=Mar 17 06:22:55 2020 GMT
notAfter=Mar 17 06:37:56 2020 GMT
^C
[root@dhcp-140-138 ~]# oc get po -n openshift-kube-scheduler
NAME                                                                  READY   STATUS      RESTARTS   AGE
openshift-kube-scheduler-ip-10-0-143-54.us-east-2.compute.internal    2/2     Running     11         59m
openshift-kube-scheduler-ip-10-0-148-151.us-east-2.compute.internal   2/2     Running     8          59m
openshift-kube-scheduler-ip-10-0-171-149.us-east-2.compute.internal   2/2     Running     15         58m
revision-pruner-7-ip-10-0-143-54.us-east-2.compute.internal           0/1     Completed   0          42m
revision-pruner-7-ip-10-0-148-151.us-east-2.compute.internal          0/1     Completed   0          39m
revision-pruner-7-ip-10-0-171-149.us-east-2.compute.internal          0/1     Completed   0          45m
[root@dhcp-140-138 ~]# oc get po -n openshift-kube-controller-manager
NAME                                                                 READY   STATUS      RESTARTS   AGE
installer-12-ip-10-0-143-54.us-east-2.compute.internal               0/1     Completed   0          35m
installer-12-ip-10-0-148-151.us-east-2.compute.internal              0/1     Completed   0          34m
installer-12-ip-10-0-171-149.us-east-2.compute.internal              0/1     Completed   0          33m
kube-controller-manager-ip-10-0-143-54.us-east-2.compute.internal    4/4     Running     0          35m
kube-controller-manager-ip-10-0-148-151.us-east-2.compute.internal   4/4     Running     0          34m
kube-controller-manager-ip-10-0-171-149.us-east-2.compute.internal   4/4     Running     0          33m
revision-pruner-11-ip-10-0-143-54.us-east-2.compute.internal         0/1     Completed   0          43m
revision-pruner-11-ip-10-0-148-151.us-east-2.compute.internal        0/1     Completed   0          39m
revision-pruner-11-ip-10-0-171-149.us-east-2.compute.internal        0/1     Completed   0          45m
revision-pruner-12-ip-10-0-143-54.us-east-2.compute.internal         0/1     Completed   0          34m
revision-pruner-12-ip-10-0-148-151.us-east-2.compute.internal        0/1     Completed   0          33m
revision-pruner-12-ip-10-0-171-149.us-east-2.compute.internal        0/1     Completed   0          32m

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


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