PV attachment to pod failed with error "Timeout waiting for mount paths to be created"

Solution Verified - Updated -

Issue

  • PVs backed by VMDK disk fail to attach respective pod with the event mentioned below.
MountVolume.WaitForAttach failed for volume "pvc-XXXXX-261c-XXXX-98b5-6398aXXXXXXX" : Could not find attached VMDK "[Datastore_XXXX] kubevols/ocp-XXXX-XXXXX-dynamic-pvc-XXXXXX-261c-XXXX-98b5-6398aXXXXXXX.vmdk". Timeout waiting for mount paths to be created

Environment

  • RedHat OpenShift Container Platform 4.x
  • VMware Vsphere 6.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