Bug 1879253

Summary: Add Provider info to synced proxy CA ConfigMap
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: openshift-controller-managerAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: devex
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:41:19 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:

Description Adam Kaplan 2020-09-15 19:18:43 UTC
Description of problem:

If an error occurs syncing the proxy's trusted CA ConfigMap to the openshift-controller namespace, the resulting error message can be difficult to parse.


Version-Release number of selected component (if applicable): 4.6.0


How reproducible: Sometimes


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

See related BZ https://bugzilla.redhat.com/show_bug.cgi?id=1876471

Comment 2 wewang 2020-09-24 08:07:24 UTC
Verified in version, @adam could you help to confirm if my verification is ok, thanks!
Version:
4.6.0-0.nightly-2020-09-23-022756


[wewang@wangwen ~]$oc logs -f pod/openshift-controller-manager-operator-7c66b5ffc4-zq6z9 -n  openshift-controller-manager-operator
I0924 08:01:38.841309       1 status_controller.go:172] clusteroperator/openshift-controller-manager diff {"status":{"conditions":[{"lastTransitionTime":"2020-09-24T01:57:32Z","reason":"AsExpected","status":"False","type":"Degraded"},{"lastTransitionTime":"2020-09-24T08:01:38Z","reason":"AsExpected","status":"False","type":"Progressing"},{"lastTransitionTime":"2020-09-24T03:36:40Z","reason":"AsExpected","status":"True","type":"Available"},{"lastTransitionTime":"2020-09-24T01:57:31Z","reason":"NoData","status":"Unknown","type":"Upgradeable"}]}}
I0924 08:01:38.884918       1 event.go:282] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-controller-manager-operator", Name:"openshift-controller-manager-operator", UID:"97486f52-1f99-43c7-b941-19f61163d54c", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'OperatorStatusChanged' Status for clusteroperator/openshift-controller-manager changed: Progressing changed from True to False ("")
I0924 08:01:38.891214       1 request.go:581] Throttling request took 50.755862ms, request: DELETE:https://172.30.0.1:443/api/v1/namespaces/openshift-controller-manager/configmaps/openshift-user-ca

Comment 3 wewang 2020-09-24 08:18:26 UTC
Seems this info is more clear about ocm-o controller openshift-user-ca in project openshift controller manager
```
I0924 07:54:52.748510       1 event.go:282] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-controller-manager-operator", Name:"openshift-controller-manager-operator", UID:"97486f52-1f99-43c7-b941-19f61163d54c", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'ConfigMapCreated' Created ConfigMap/openshift-user-ca -n openshift-controller-manager because it was missing
I0924 07:54:55.312701       1 httplog.go:89] "HTTP" verb="GET" URI="/metrics" latency="61.704653ms" userAgent="Prometheus/2.21.0" srcIP="10.128.2.18:43608" resp=200
```

Comment 4 Adam Kaplan 2020-09-24 12:48:35 UTC
I'd call this verified - the test at minimum shows that we upgraded library-go, which includes the clearer messaging.

Comment 7 errata-xmlrpc 2020-10-27 16:41:19 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.6 GA Images), 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:4196