oc commands hang in OpenShift v3.7

Solution Unverified - Updated -


  • All oc commands hang for nearly one minute before returning.
  • It affects all users, and problem exists no matter where the oc command is issued (any server in the cluster, or an external client).
  • The following messages are noticed in the node log after setting log-level to 10:
I0511 14:56:13.356656  118805 request.go:994] Response Body: Too many requests, please try again later.
I0511 14:56:13.356777  118805 request.go:1196] body was not decodable (unable to check for Status): couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }
I0511 14:56:13.356793  118805 cached_discovery.go:79] skipped caching discovery info due to the server has received too many requests and has asked us to try again later
I0511 14:56:13.357639  118805 cached_discovery.go:72] returning cached discovery info from /opt/home/<redacted>/.kube/localhost_8443/v1/serverresources.json


  • OpenShift Container Platform
    - 3.7.42

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In