Bug 1797840

Summary: Warning about missing the cloud-provider-config configmap in registry operator log
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: low Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, xiuwang
Target Milestone: ---Keywords: Reopened
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the operator always reported about missing cloud-provider-config even if the cluster is not supposed to have it Consequence: noise in the logs Fix: report only if debug is enabled Result: clean logs
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:13:54 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 Wenjing Zheng 2020-02-04 02:19:24 UTC
Description of problem:
There are so many warning in image registry operator log as below:
I0204 01:58:40.462449      13 caconfig.go:123] missing the cloud-provider-config configmap: configmap "cloud-provider-config" not found

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2020-02-03-163409

How reproducible:
always

Steps to Reproduce:
1.Launch a cluster
2.Check image registry operator log:
$ oc logs pods/cluster-image-registry-operator-856fddc779-25kz6 -c cluster-image-registry-operator
3.

Actual results:
So many warning about missing the cloud-provider-config configmap

Expected results:
Should be no such warning

Additional info:

Comment 2 Wenjing Zheng 2020-02-07 07:17:18 UTC
No such warning in registry operator in 4.4.0-0.nightly-2020-02-06-230833 now.

Comment 3 Wenjing Zheng 2020-02-10 06:43:48 UTC
I can still see this warning with storage=emptyDir on 4.4.0-0.nightly-2020-02-10-013941, so re-open this bug.

Comment 7 XiuJuan Wang 2020-04-23 03:35:56 UTC
https://github.com/openshift/cluster-image-registry-operator/pull/507 is for 4.5 version.
Cherry-pick for 4.4 is failed, https://github.com/openshift/cluster-image-registry-operator/pull/507#issuecomment-611648970

And could still see the message 'missing the cloud-provider-config configmap: configmap "cloud-provider-config" not found' in 4.4.0-0.nightly-2020-04-22-200542

Comment 8 Oleg Bulatov 2020-04-23 09:28:49 UTC
Oops, can you verify it on 4.5?

Comment 10 XiuJuan Wang 2020-04-24 02:39:32 UTC
Can‘t reproduce this issue now in 4.5.0-0.nightly-2020-04-21-103613

Comment 14 errata-xmlrpc 2020-07-13 17:13:54 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