Projects stuck in Terminating state and unable to run "oc api-resources" on OpenShift
Issue
-
Projects are stuck in
Terminating
status after redeploying master certificates; -
Running
oc api-resources
does not return a list of resources and shows error:$ oc api-resources error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
or
$ oc api-resources error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: Unauthorized
Environment
- Red Hat OpenShift Container Platform (OCP) 3.11
- 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.