Bug 1831966

Summary: [RHV][KAS-O] a large amount of log 'ObserveCloudProvidersFailed' No recognized cloud provider platform found in infrastructures.config.openshift.io/cluster.status.platform
Product: OpenShift Container Platform Reporter: Ke Wang <kewang>
Component: kube-apiserverAssignee: Michal Fojtik <mfojtik>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, jmalde, mfojtik, sttts, xxia
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1821640
: 1832143 1837348 (view as bug list) Environment:
Last Closed: 2020-06-02 11:18:33 UTC Type: ---
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: 1832143    
Bug Blocks: 1821640, 1837348    

Comment 1 Ke Wang 2020-05-06 03:25:29 UTC
The bug was found on 4.4 and still existed on latest 4.4.3 release, so clone it on 4.4

Comment 2 Michal Fojtik 2020-05-06 07:46:39 UTC
I don't see how this should be high severity, this only generates log noise.

Comment 3 Michal Fojtik 2020-05-06 11:03:41 UTC
Backport for library-go: https://github.com/openshift/library-go/pull/791

Comment 4 Michal Fojtik 2020-05-19 10:27:42 UTC
I can see this fixed in 4.4.z: https://github.com/openshift/library-go/blob/release-4.4/pkg/operator/configobserver/cloudprovider/observe_cloudprovider.go#L157

Moving to QE... Weirdly, this was not fixed in 4.5.0 (in master branch).

Comment 7 Ke Wang 2020-05-22 03:21:21 UTC
Verification steps see below,

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-05-20-053050   True        False         34h     Cluster version is 4.5.0-0.nightly-2020-05-20-053050

$ oc logs -n openshift-kube-apiserver kube-apiserver-primary-t7984-master-0 | grep -i 'ObserveCloudProvidersFailed'

Nothing found.

The fix works well as expected, move the bug verified.

Comment 8 Ke Wang 2020-05-22 03:23:32 UTC
Sorry, above verification for OCP 4.5, will verify on 4.4 later.

Comment 9 Ke Wang 2020-05-26 08:37:31 UTC
Asked Jan help to setup a OCP 4.4 cluster on RHV. Once ready, will verify.

Comment 10 Ke Wang 2020-05-29 07:03:24 UTC
Verification steps see below,

# oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.4.0-0.nightly-2020-05-24-133612   True        False         2d21h   Cluster version is 4.4.0-0.nightly-2020-05-24-133612

# oc logs -n openshift-kube-apiserver kube-apiserver-primary-b8n5s-master-0 | grep -i 'ObserveCloudProvidersFailed'

Nothing found.

The fix works well as expected, move the bug verified.

Comment 12 errata-xmlrpc 2020-06-02 11:18:33 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:2310