# Fault - NoCompatibleHost(vim.fault.NoCompatibleHost)

Extended by
  NoCompatibleHostWithAccessToDevice
Extends
  VimFault
See also
  HostSystem, LocalizedMethodFault
Since
  vSphere API 4.0

## Fault Description

A NoCompatibleHost fault is thrown when DRS cannnot find a compatible host in a given compute resource to run a virtual machine on.

Properties

Name | Type | Description
--- | --- | ---
error* | LocalizedMethodFault[] | An error in this array indicates why the corresponding host in the host array is incompatible.
host* | ManagedObjectReference[] to a HostSystem[] | The list of hosts that are not compatible, each element has a corresponding fault in the error array.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="NoCompatibleHost"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="host" type="vsan:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="error" type="vsan:LocalizedMethodFault" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>