oc start-build --from-file command failing with error: failed to mount volumes for build pods

Solution Verified - Updated -

Issue

  • All builds are failing with the following error. All nodes are affected.
Unable to mount volumes for pod "test-pod1(c12e346d0aswdyup45fs)": timeout expired waiting for volumes to attach or mount for pod "test-pod1-build". list of unmounted volumes=[buildworkdir docker-socket crio-socket builder-dockercfg-tkn4f-push builder-dockercfg-tkn4f-pull builder-token-rj96v]. list of unattached volumes=[buildworkdir docker-socket crio-socket builder-dockercfg-tkn4f-push builder-dockercfg-tkn4f-pull builder-token-rj96v]

Environment

  • OpenShift Container Platform

    • 3.11

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