We are getting an error when we create a PVC with WRO mode. When we change the same yaml file to RWX the pvc is created.
This is the message that we receive when we try to create:
Warning ProvisioningFailed persistentvolumeclaim/xxx failed to provision volume with StorageClass "vsphere-sc": rpc error: code = Internal desc = failed to get shared datastores in Kubernetes cluster. Error: no shared datastores found for nodeVm: VirtualMachine:vm-55342
Error no shared datastores found for nodeVM VirtualMachine vm-xxx
TCA 2.2
VM was in a different cluster that used a different VSAN cluster
Based on the error message when describing PVC, it was pointing to VMs not being able to have access to storage
vm-### is the managed object reference
vm-### is the ID used to identify VMs unique
In the MOB, we can track this vm back.
Verify the VM pointing to a different cluster
https://<vCenter_server>/mob/?moid=<OBJECT_ID>