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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.