Red Hat OpenShift Container Platform Node went into NotReady state failing with ""error listing AWS instances: \"UnauthorizedOperation"

Solution Verified - Updated -

Issue

  • Why node went into NotReady state?
  • Why atomic-openshift-node.service is not able to start?
  • Logs for atomic-openshift-node.service shows:
Sep 08 01:45:35 node01.example.com atomic-openshift-node[41893]: I0908 01:45:35.899047   41893 aws.go:1135] Building AWS cloudprovider
Sep 08 01:45:35 node01.example.com atomic-openshift-node[41893]: F0908 01:45:35.971396   41893 server.go:262] failed to run Kubelet: could not init cloud provider "aws": error finding instance <instance-id>: "error listing AWS instances: \"UnauthorizedOperation: You are not authorized to perform this operation.\\n\\tstatus code: 403, request id: <request-id>""
Sep 08 01:45:35 node01.example.com systemd[1]: Unit atomic-openshift-node.service entered failed state.
Sep 08 01:45:35 node01.example.com systemd[1]: atomic-openshift-node.service failed.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11
  • Amazon Web Services (AWS)
    • IAM service

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