Virtual machine fails to power on with error: No host is compatible with the virtual machine
search cancel

Virtual machine fails to power on with error: No host is compatible with the virtual machine

book

Article ID: 404577

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:

  • Powering on a virtual machine in vCenter fails with error:

No host is compatible with the virtual machine

  • In the var/log/vmware/vpxd/vpxd.log on the vCenter, you may see below entries:

info vpxd[08132] [Originator@6876 sub=vpxLro opID=XXXX] [VpxLRO] -- BEGIN task-133090 -- VMTEST -- Datacenter.ExecuteVmPowerOnLRO --
info vpxd[08132] [Originator@6876 sub=VmCheck opID=XXXX] CompatCheck results: (vim.vm.check.Result) [
-->    (vim.vm.check.Result) {
-->       vm = 'vim.VirtualMachine::vm-XXXX',
-->       host = 'vim.HostSystem:host-XXXX',
-->       warning = (vmodl.MethodFault) [
-->          (vim.fault.CannotAccessVmDevice) {
-->             device = "CD/DVD drive 1",
-->             backing = "[DATASTORE] test.iso",
-->             connected = false,
-->             msg = "",
-->          }
-->       ],
-->    }
--> ]

info vpxd[08132] [Originator@6876 sub=Default opID=XXXX] [VpxLRO] -- ERROR task-133090 -- VMTEST -- Datacenter.ExecuteVmPowerOnLRO: vim.fault.NoCompatibleHost:
--> Result:
--> (vim.fault.NoCompatibleHost) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.cdrs.placeVm.emptyCompatSet",
-->          arg = <unset>,
-->          message = <unset>

Environment

VMware vCenter Server 7.0

Cause

This issue occurs due to the following:

  • Virtual Machine has an ISO mounted
  • ISO is residing on a datastore which the ESXi host does not have access.

Resolution

To resolve this issue, attempt to power on the virtual machine after applying any of the below options:

  • Remove the mounted ISO from the virtual machine
  • Migrate the virtual machine to the ESXi host which has access to the datastore where the ISO is located