Description of problem: While looking into BZ2034413, I noticed that the authentication code for Azure & AWS will not work for the non-public clouds (e.g. GovCloud, Azure Stack).
If the controller is being deployed on these clouds, and I assume it is because it is being deployed on Azure Stack, it is most likely broken.
Steps to Reproduce:
Deploy to a non-public AWS or Azure Cloud
controller does not account for different authentication/cannot authenticate
Either don't deploy the controller on non-public clouds (by inspecting the cluster infrastructure object) or use the various authentication methods for these clouds (Installer team can provide examples).
According to the CI, this issue happen on AWS with STS, So I update the title, please correct me it's not explicit, thanks
Trying to deploy or find one ASH cluster for verifying this bug..
Verified this bug on 4.10.0-0.nightly-2022-01-24-070025 with ASH cluster
$ oc get pod -n openshift-cloud-network-config-controller
NAME READY STATUS RESTARTS AGE
cloud-network-config-controller-797d96d66b-pjjrh 1/1 Running 0 39h
$ oc get co network
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
network 4.10.0-0.nightly-2022-01-24-070025 True False False 39h
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.