Attempting to deploy an OVF or create a new VM results in an error while selecting appropriate storage for the new VM on the Workload datastore: Error:
Datastore does not match current VM policy
vpxd.log has the following errors:
2023-10-17T20:15:51.791Z info vsanvcmgmtd[31435] [vSAN@6876 sub=AdapterServer opID=########-9152] Finished 'queryComplianceResult' on 'vsanvp-policy-manager' (25 ms): done
2023-10-17T20:15:51.961Z info vsanvcmgmtd[60874] [vSAN@6876 sub=AdapterServer opID=sps-Main-2348##-###-######-###-9153] Invoking 'getAlarm' on 'vsanvp-notification-manager' session '523c####-####-####-####-########b134' active 1
2023-10-17T20:15:51.964Z info vsanvcmgmtd[60874] [vSAN@6876 sub=AdapterServer opID=sps-Main-2348##-###-######-###-9153] Finished 'getAlarm' on 'vsanvp-notification-manager' (2 ms): done
2023-10-17T20:15:52.024Z info vsanvcmgmtd[31432] [vSAN@6876 sub=Default opID=Run-Http2ServerSession-112] opId 'q-6004:VmProfileAssignmentPropertyProviderAdapter:16287-20ys-h5:7003####-######-643' maps to '895edf7'
2023-10-17T20:15:52.024Z info vsanvcmgmtd[31575] [vSAN@6876 sub=AdapterServer opID=########-9154] Invoking 'queryComplianceResult' on 'vsanvp-policy-manager' session '523c####-####-####-####-########b134' active 1
2023-10-17T20:15:52.050Z error vsanvcmgmtd[31575] [vSAN@6876 sub=VsanVpSvc opID=########-9154] Failed to invoke XvcGetComplianceResult: AttributeError("'NoneType' object has no attribute 'linkType'"). Traceback:
--> #2 XvcGetComplianceResult() at VsanVpUtil.py:45
--> #1 GetDSConnection() at DSConnMgr.py:35
--> #0 _GetProvider() at DSConnMgr.py:22
Impact/Risks:
No production workload impact