Red Hat OpenShift Container Platform Node went into NotReady state failing with ""error listing AWS instances: \"UnauthorizedOperation"
Issue
- Why node went into NotReady state?
- Why
atomic-openshift-node.serviceis not able to start? - Logs for
atomic-openshift-node.serviceshows:
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.