VCF deployment fails at "Configure the vSphere Cluster" stage.
search cancel

VCF deployment fails at "Configure the vSphere Cluster" stage.

book

Article ID: 407700

calendar_today

Updated On:

Products

VMware SDDC Manager VMware Cloud Foundation

Issue/Introduction

  • VCF 9 deployment fails at "Configure the vSphere Cluster" stage. 




  • From /var/log/vmware/vcf/domainmanager/domainmanager.log, below log snippets are found:
    INFO  [vcf_dm,68########8a,####] [c.v.e.s.c.util.ValidationUtilImpl,##-####-##]  Validating if there are any VMs in host <ESXi Hostname>
    ERROR [vcf_dm,68########8a,####] [c.v.e.s.c.util.ValidationUtilImpl,##-####-##]  One or more VMs found on host <ESXi Hostname>
    DEBUG [vcf_dm,68########8a,####] [c.v.e.s.c.c.v.vsphere.VsphereClient,##-####-##]  Destroying 1 open views
    ERROR [vcf_dm,68########8a,####] [c.v.e.s.o.model.error.ErrorFactory,##-####-##]  [######] HOST_VM_VALIDATION_FAILED One or more VMs found on host <ESXi Hostname>
    com.vmware.evo.sddc.common.util.ValidationException: One or more VMs found on host <ESXi Hostname>

Environment

VMware Cloud Foundation 9.0

Cause

This issue occurs due to an existing VM on the host.

Resolution

  • Scenario 1: If the Host has vCLS VM(s).
    1. SSH to ESX host with root
    2. Check if vCLS is enabled on the host ESXi by running the below command: 
      configstorecli config current get -c esx -g infravisor_pods -k vcls -p /pod_settings/enabled
    3. Check for any running VCLS pods:
      inf-cli get pods -n vcls 
    4. Disable the vCLS Pod Config on the host:
      configstorecli config current set -c esx -g infravisor_pods -k vcls -p /pod_settings/enabled -v false
    5. Verify vCLS Pod is not destroyed:
      inf-cli get pods -n vcls
    6. Re-try the job.

  • Scenario 2: If the Host has other VM(s).

    • Relocate the VM to another standalone host or delete it if it's no longer needed, then retry the VCF deployment.