Cluster Operator image-registry is degraded in the RHOCP cluster
Issue
-
The Cluster Operator(CO)
image-registryis degraded with below error:$ oc describe co/image-registry <..> time="2024-02-26T08:57:14Z" level=error msg="error while validating cloud credentials: failed checking create cloud creds: error gathering AWS credentials details: error querying username: InvalidClientTokenId: The security token included in the request is invalid.\n\tstatus code: 403, request id: ef421f6c-27b3-4cf7-85d3-307ff1cd8bba" controller=secretannotator <..> -
Secrets inside the namespace
openshift-image-registrycontaining IAM account credentials got deleted by mistake.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- AWS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.