Bug 1879253 - Add Provider info to synced proxy CA ConfigMap
Summary: Add Provider info to synced proxy CA ConfigMap
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-controller-manager
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Adam Kaplan
QA Contact: wewang
URL:
Whiteboard: devex
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-15 19:18 UTC by Adam Kaplan
Modified: 2020-10-27 16:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:41:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-openshift-controller-manager-operator pull 175 0 None closed Bug 1879253: Add provider to user CA ConfigMap target 2021-01-18 02:07:48 UTC
Github openshift cluster-openshift-controller-manager-operator pull 176 0 None closed Bug 1879253: Remove .rhel7 Dockerfile 2021-01-18 02:07:48 UTC
Red Hat Bugzilla 1876471 0 high CLOSED auth-operator: RouterCertsDegraded message impossible to understand 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:41:40 UTC

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


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