vSphere cloud provider fails to attach a volume due to Unable to find VM by UUID

Solution Verified - Updated -

Issue

  • We are seeing the following message in our logs and are not able to attach volumes in our OpenShift environment on VMware.
Cannot find node "master" in cache. 
AttachVolume.Attach failed for volume
"[datacenter.go:78] Unable to find VM by UUID. VM UUID: VOLUME_UUID"
Kubernetes node nodeVmDetail details is empty 

Environment

  • OpenShift Container Platform
    • 3.4, 3.5, 3.6, 3.7, 3.9
  • VMware ESXi and VSphere 6.5

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