Failed to load ESXi host host-xxxxx: NoPermission
Issue
- Creating pvc with
storageClasstypethinprompting below errors:
2022-07-14T18:12:23.936856861+05:30 E0714 12:42:23.936822 1 shared_datastore.go:173] SharedHost.getNodeHosts: unable to fetch hosts from datacenter Datacenter:datacenter-xxxxx: NoPermission
2022-07-14T18:12:23.936856861+05:30 E0714 12:42:23.936841 1 vsphere.go:1398] Failed to get shared datastore: NoPermission
- The
vmware-vsphere-csi-driver-operator-xxxxxxxxpod throwsNoPermissionerror as shown below:
2022-07-14T17:39:29.645763036+05:30 E0714 12:09:29.645731 1 check_nodes.go:148] error getting host for node abcd.example.in failed to load ESXi host host-xxxxx: NoPermission
2022-07-14T17:39:29.662417550+05:30 E0714 12:09:29.662386 1 vsphere_environment_checker.go:82] marking cluster as un-upgradeable: failed to load ESXi host host-xxxxxx: NoPermission
Environment
-
Red Hat OpenShift Container Platform (RHOCP)
- 4.10
-
VMware vSphere
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.