In a vSAN cluster, all VMs on a specific datastore show a non-compliant status with their assigned storage policy, despite having the same default policy as the datastore. No policy changes were made, yet cloning a VM fails with an error stating a policy mismatch.
vSAN (all versions)
The VM policy requires # fault domains with all-flash storage, but only # are available, causing a datastore mismatch
.
Adjusted fault domains to meet the policy requirements as per the Fault Domain Tech Document
After alignment, the datastore became compliant and successfully cloned the virtual machine.