oc get dc fails when AllRequestBodies audit-profile is set in apiserver

Solution Verified - Updated -


  • oc get dc fails with below error:
# oc get dc
F0102 18:52:28.055199   29290 helpers.go:115] Error from server (InternalError): an error on the server ("This request caused apiserver to panic. Look in the logs for details.") has prevented the request from succeeding (get deploymentconfigs.apps.openshift.io)


  • Red Hat OpenShift Container Platform (OCP) 4.10.x

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