OpenShift 4 AWS Disconnected cluster fails to connect to "https://iam.amazonaws.com"

Solution Verified - Updated -

Issue

  • The cloud-credential operator fails to connect to https://iam.amazonaws.com URL in a disconnected OpenShift 4 AWS cluster.
$ oc logs cloud-credential-operator-6c9cf4b75f-bbgxr -c cloud-credential-operator
time="2022-09-05T09:58:40Z" level=info msg="reconcile complete" controller=metrics elapsed=4.469446ms
time="2022-09-05T09:58:42Z" level=error msg="RequestError: send request failed\ncaused by: Post \"https://iam.amazonaws.com/\": dial tcp 52.94.225.3:443: i/o timeout"
time="2022-09-05T09:58:42Z" level=error msg="error syncing creds in mint-mode" actuator=aws cr=openshift-cloud-credential-operator/openshift-machine-api-aws error="AWS Error: RequestError: send request failed\ncaused by: Post \"https://iam.amazonaws.com/\": dial tcp 52.94.225.3:443: i/o timeout"
time="2022-09-05T09:58:42Z" level=error msg="error syncing credentials: error syncing creds in mint-mode: AWS Error: RequestError: send request failed\ncaused by: Post \"https://iam.amazonaws.com/\": dial tcp 52.94.225.3:443: i/o timeout" controller=credreq cr=openshift-cloud-credential-operator/openshift-machine-api-aws secret=openshift-machine-api/aws-cloud-credentials
time="2022-09-05T09:58:42Z" level=error msg="errored with condition: CredentialsProvisionFailure" controller=credreq cr=openshift-cloud-credential-operator/openshift-machine-api-aws secret=openshift-machine-api/aws-cloud-credentials
  • Is it possible to deploy an OpenShift 4 disconnected cluster over AWS?

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content