Datastore does not match current VM policy."
In some cases,Creating a VM with the vSAN Storage policy may fail with the above error.
On occasion, when a new vSAN cluster is deployed, it can fail to get added to the vCenter Storage Policy Service correctly, leaving the entry in an unhealthy state.
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.VASA provider registration Troubleshooting
VASA Provider Registration Troubleshooting