Bug 1825983

Summary: KCM doesn't get new client certs on recovery flow
Product: OpenShift Container Platform Reporter: Tomáš Nožička <tnozicka>
Component: kube-controller-managerAssignee: Tomáš Nožička <tnozicka>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.5CC: aos-bugs, maszulik, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1825987 1827989 (view as bug list) Environment:
Last Closed: 2020-07-13 17:29:09 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:    
Bug Blocks: 1825987, 1827989    

Description Tomáš Nožička 2020-04-20 15:59:18 UTC
On recovery flow, KASO regenerate certificates routine create new KCM client certs in openshift-config-managed namespace. We need to sync them to openshift-kube-controller-manager namespace so cert syncer can sync them to disk to be live-reloaded.

Comment 3 zhou ying 2020-04-26 06:37:56 UTC
Confrimed with payload: 4.5.0-0.nightly-2020-04-24-231436, the issue has fixed:

[root@dhcp-140-138 scripts]# ./check_secrets_experts.sh 
2020-04-26T03:57:18Z  2020-04-26T15:57:19Z  openshift-config-managed	kube-controller-manager-client-cert-key
...
2020-04-26T03:57:18Z  2020-04-26T15:57:19Z  openshift-kube-controller-manager	kube-controller-manager-client-cert-key

Comment 4 errata-xmlrpc 2020-07-13 17:29:09 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:2409