Datastore does not match current VM policy."In some cases,Creating a VM with the vSAN Storage policy may fail with the above error.
The issue is triggered by a stale or unhealthy state of the vCenter Storage Policy Service (SPS). When a vSAN cluster is deployed or modified, the SPS may fail to correctly initialize or update the registration of the vSAN storage providers. This results in the vCenter being unable to validate that the vSAN datastore capabilities meet the requirements of the applied VM Storage Policy, leading to the compatibility error during the OVF import process.
To resolve this issue:
vmware-vsan-health service is running using service-control --status vmware-vsan-health.service-control --start vmware-vsan-health. If it is running but the error persists, restart the Storage Policy Service: service-control --restart vmware-sps.The service restart forced a reload of the storage provider capabilities and refreshed the communication between the vCenter Server and the vSAN datastore. This re-established the healthy state of the Storage Policy Service allowing the vSAN datastore to be correctly identified as a compatible target for the OVF deployment.
VASA provider registration Troubleshooting
VASA Provider Registration Troubleshooting