VM deployment in Supervisor cluster fails with "No host is compatible" error
search cancel

VM deployment in Supervisor cluster fails with "No host is compatible" error

book

Article ID: 445726

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

  • When deploying a Virtual Machine in vSphere Kubernetes Service (VKS) cluster using the Local Control Interface (LCI) plugin in Supervisor management, the deployment fails.

    PlaceVmsXCluster failed: faults: [ResourcePool resgroup-####faults: No host is compatible with the virtual machine]

  • vCenter vpxd logs contain warnings indicating the guest operating system is not supported on the destination host:

    /var/log/vmware/vpxd/vpxd.log

    YYYY-MM-DD:T:HH:MM:SS INFO vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] PlaceVmsXCluster: Specified CandidateNetworks is  of vm 1
    YYYY-MM-DD:T:HH:MM:SS INFO vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] PlaceVmGroupXCluster: inputVms len: 1, candidate RPs size: 1
    YYYY-MM-DD:T:HH:MM:SS WARNING vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] Guest '<GUID NAME>' not supported on dest
    YYYY-MM-DD:T:HH:MM:SS INFO vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] Dump section ############## created for cluster [vim.ClusterComputeResource:domain-##,###-###-####-####]
    YYYY-MM-DD:T:HH:MM:SS WARNING vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] Xdrs: no valid host for VM [vim.VirtualMachine:<VM NAME>-################,<unknown>] cluster [vim.ClusterComputeResource:domain-##,###-###-####-####]
    YYYY-MM-DD:T:HH:MM:SS WARNING vpxd #### [vc@#### sub="cdrsPlmt" opID="vmoperator-<VM NAME>-createOrUpdateVM-#######-##"] Xdrs: No valid recommendation for a batch of 1 VMs in cluster [vim.ClusterComputeResource:domain-##,###-###-####-####]

Environment

VMware vSphere Kubernetes Service

Cause

The deployment failure occurs because the virtual machine specification contains an invalid or unsupported guestId. The placement engine cannot identify a compatible host when the requested Guest OS identifier does not match the supported values for the destination cluster and host environment.

Resolution

Ensure the Virtual Machine deployment configuration submitted to the Supervisor uses a valid Guest ID value recognized by the vSphere API.

  1. Review the current deployment configuration (YAML) or LCI resources under Supervisor > LCI > Resources.
  2. Locate the Guest ID field.
  3. Refer to the  vSphere Web Services API documentation to identify the correct GuestOsIdentifier string for the target operating system.
  4. Update the deployment specification with the valid Guest ID string (e.g., changing an incorrect value like ubuntu3 to a supported one like ubuntu64Guest).
  5. Execute the Virtual Machine deployment again.