Admission plugin MutatingAdmissionWebhook failed to complete mutation in 13s in OCP 4

Solution Unverified - Updated -

Issue

  • When trying to run a build config, the following error is thrown:

    openshift-apiserver/apiserver-xy       1 plugins.go:158] Loaded 5 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,build.openshift.io/BuildConfigSecretInjector,image.openshift.io/ImageLimitRange,image.openshift.io/ImagePolicy,MutatingAdmissionWebhook.
    error:openshift-controller-manager/controller-manager-_controller-manager_previous.log:I0727 22:37:45.4      1 build_controller.go:1743] Giving up retrying abc/build-bc-1: failed to create build pod: Internal error occurred: admission plugin "MutatingAdmissionWebhook" failed to complete mutation in 13s
    
  • MutatingAdmissionWebhook errors when starting a pipeline:

    Failed to create TaskRun "xxxxx-pipeline-zzzzz-pre-checks-yyyy": Internal error occurred: admission plugin "MutatingAdmissionWebhook" failed to complete mutation in 13s
    
  • Pods serving the webhook service are Running and report no problem.

  • There is no network issue between kube-apiserver pods and the webhook pods.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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