Creating a VM may fail and report as "Datastore does not match current VM policy"
search cancel

Creating a VM may fail and report as "Datastore does not match current VM policy"

book

Article ID: 326824

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:
  • Creating a VM with the vSAN default policy "virtual SAN may fail and report as "Datastore does not match current VM policy"
  • vSAN datastore may be listed in "incompatible" datastore during creation


Environment

VMware vSAN 7.x
VMware vSAN 8.x

Cause

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.

 

Resolution

To resolve this issue,

1. Restart the Storage Policy Service on the vCenter appliance:

service-control --restart vmware-sps

2. If the problem is still in place after restarting the service above, then re-synchronize the storage providers from vCenter by doing the following:
  • Select the vCenter in the left pane
  • Select the Manage/Configure tab
  • Select Storage providers
  • Click on  Synchronize Storage Providers, the icon that looks like a stack of disks with the circular red arrows.

 



Additional Information

VASA provider registration Troubleshooting
VASA Provider Registration Troubleshooting