Cloud credential operator is scrolling warning messages on baremetal IPI. Is it expected, or is there something we should be handling there to avoid this problem? See below: ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-gcp error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-network error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-ingress error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-image-registry-azure error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-ingress-azure error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-image-registry error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-ingress-gcp error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-vsphere error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-image-registry-gcs error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-azure error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-ovirt error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-openstack error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-image-registry-openstack error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=secretannotator_status credentialsRequest=openshift-machine-api-aws error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=error msg="failed to determine cloud pl atform type" controller=credreq cr=openshift-cloud-credential-operator/openshift-machine-api-gcp error="unsupported platorm type: BareMetal" secret=openshift-machine-api/gcp-cloud-credentials ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-machine-api-openstack error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-image-registry-openstack error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-machine-api-aws error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-machine-api-ovirt error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-ingress-azure error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-image-registry error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-ingress-gcp error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-machine-api-vsphere error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-machine-api-gcp error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-network error="unsupported platorm type: BareMetal" ./bootstrap/containers/cloud-credential-operator-bec5d67113999e8e28f3b00afb76cd19882e376fba5836d02097de60dbce241d.log:time="2020-08-03T12:37:34Z" level=warning msg="ignoring for status condit ion because could not decode provider spec" controller=credreq_status credentialsRequest=openshift-ingress error="unsupported platorm type: BareMetal"
probably something we should handle in cco. will investigate next sprint
Still looking to fix but we have not had time to investigate yet. Looks like a very normal thing though we just need to improve the logging. Those messages indicate no cause for alarm.
Stephen could you check if this still happens next time you have a cluster up? We had a similar issue that turned out to no longer be an issue, I suspect this one may have been fixed. If so please attach an oc adm must-gather. Unfortunately we are not presently setup to provision bare metal clusters.
Yea, about once per minute it's still putting a lot of noise into the logs. I'll attached a must-gather, but the relevant logs are below. time="2020-12-04T13:55:53Z" level=info msg="calculating metrics for all CredentialsRequests" controller=metrics time="2020-12-04T13:55:53Z" level=info msg="unsupported cloud for determing CCO mode" cloud=BareMetal controller=metrics time="2020-12-04T13:55:53Z" level=info msg="reconcile complete" controller=metrics elapsed=2.199826ms time="2020-12-04T13:56:05Z" level=info msg="reconciling clusteroperator status" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-ingress-gcp error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=cloud-credential-operator-gcp-ro-creds error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-aws error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-cluster-csi-drivers error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-vsphere error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-azure error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-ovirt error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-image-registry error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-image-registry-openstack error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-image-registry-azure error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=ovirt-csi-driver-operator error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-gcp error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=cloud-credential-operator-s3 error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-network error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=aws-ebs-csi-driver-operator error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-kubevirt error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=cloud-credential-operator-iam-ro error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-gcp-pd-csi-driver-operator error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-ingress error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-machine-api-openstack error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-image-registry-gcs error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=manila-csi-driver-operator error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-ingress-azure error="unsupported platorm type: BareMetal" time="2020-12-04T13:56:05Z" level=info msg="clusteroperator status updated" controller=status
Hi Devan, I test this fix on 4.8.0-0.nightly-2021-05-18-205323. we don't have a paltform=BareMetal in our qe env, but we have a similar env like paltform=None I checked we have already no longer shown this message : time="2021-05-18T02:56:44Z" level=warning msg="ignoring for status condition because could not decode provider spec" controller=status credentialsRequest=openshift-ingress error="unsupported platorm type: None" But there are another infinite loops like below: time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None" time="2021-05-19T05:29:27Z" level=info msg="unable to provide upcoming secrets for unknown platform: None"
Good find Lin, this looks like a separate issue, could you file another bug and include a must-gather? I suspect your CredentialsRequests are getting something updated in Status every loop causing the infinite update/reconcile loop.
Filed a new bug : https://bugzilla.redhat.com/show_bug.cgi?id=1962602 Move this one to Verified.
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.8.2 bug fix and 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-2021:2438