OpenShift vSphere Cloud Provider Unable to Provision Volumes: "NoPermission"
Issue
- Setup vSphere Cloud Provider following steps from Red Hat documentation results in following error:
E0924 13:13:12.911360 1 virtualmachine.go:216] Failed to retrieve datastores for host: HostSystem:host-16298. err: NoPermission
I0924 13:13:12.911381 1 vsphere_util.go:123] error "NoPermission" getting accessible datastores for node &{NodeName:sndocpi101 vm:0xc42720f2b0 VMUUID:}
E0924 13:13:12.911391 1 vsphere.go:1077] Failed to get shared datastore: NoPermission
I0924 13:13:12.911400 1 vsphere.go:1129] The canonical volume path for the newly created vSphere volume is ""
I0924 13:13:12.911413 1 pv_controller.go:1433] failed to provision volume for claim "test-project/sdfawefw" with StorageClass "vsphere-nprd": NoPermission
I0924 13:13:12.911445 1 event.go:218] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"test-project", Name:"sdfawefw", UID:"26a10844-bffb-11e8-beda-005056964b02", APIVersion:"v1", ResourceVersion:"1579982", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' Failed to provision volume with StorageClass "vsphere-nprd": NoPermission`
Environment
- Red Hat OpenShift Container Platform
- 3.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.