Bug 2039170

Summary: [upgrade]Error shown on registry operator "missing the cloud-provider-config configmap" after upgrade
Product: OpenShift Container Platform Reporter: XiuJuan Wang <xiuwang>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10CC: aos-bugs
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:38:34 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 XiuJuan Wang 2022-01-11 06:40:00 UTC
Description of problem:
Error shown on registry operator "missing the cloud-provider-config configmap" after upgrade
On 4.9 and 4.10 there is no such configmap named cloud-provider-config

Version-Release number of selected component (if applicable):
4.9.13 -> 4.10
4.5-> 4.10 full path

How reproducible:

always
Steps to Reproduce:
1.Upgrade 4.9 to 4.10
2.
3.

Actual results:

$oc logs cluster-image-registry-operator-c484b6dc7-g6w5h --since=1m
I0111 06:33:30.530891       1 controllerimagepruner.go:351] add event to image pruner workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:33:30.531235       1 controller.go:403] add event to workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:33:30.532464       1 caconfig.go:107] missing the cloud-provider-config configmap: configmap "cloud-provider-config" not found
I0111 06:33:56.541825       1 controllerimagepruner.go:351] add event to image pruner workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:33:56.542165       1 caconfig.go:107] missing the cloud-provider-config configmap: configmap "cloud-provider-config" not found
I0111 06:33:56.542321       1 controller.go:403] add event to workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:34:22.552816       1 controllerimagepruner.go:351] add event to image pruner workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:34:22.552935       1 controller.go:403] add event to workqueue due to *v1.ConfigMap, Namespace=openshift-image-registry, Name=openshift-master-controllers (update)
I0111 06:34:22.553158       1 caconfig.go:107] missing the cloud-provider-config configmap: configmap "cloud-provider-config" not found


Expected results:
Should no such error

Additional info:

Comment 5 errata-xmlrpc 2022-03-10 16:38:34 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056