vSphere CSI Driver fails to fetch host due to unrecognized entity type

Solution Verified - Updated -

Issue

  • Volume provisioning fails due to unrecognized entity type in vSphere.

    failed to fetch hosts from entity Folder:group-v1234. Error: failed to fetch hosts from entity VirtualMachine:vm- 
    1234. Error: unrecognised entity type found VirtualMachine:vm-1234.","TraceId":"xxxx-xxxx-xxxx- 
    xxxx","stacktrace":"sigs.k8s.io/vsphere-csi- 
    driver/v3/pkg/csi/serv/xxx.xxxx.xxxx\n\t/go/crc/github.com/kubernetes-sigs/vsphere-csi- 
    driver/pkg/csi/service/common/topology.go:153\nsigs.k8
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • VMware vSphere

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