"Failed to prepare primary ESXi Host for vSAN" when trying to add host with existing configuration to new VCF cluster
search cancel

"Failed to prepare primary ESXi Host for vSAN" when trying to add host with existing configuration to new VCF cluster

book

Article ID: 426609

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Identified a hostname related error in the following log path: /var/log/vmware/vcf/domainmanager/domainmanager.log

    ERROR [vcf_##,#########################,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-19]  [#####] VSPHERE_PREPARE_PRIMARY_HOST_FAILED Primary ESXi hostname is blank.
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Primary ESXi hostname is blank.

  • ESXi host certificate Subject had "unstructuredName".  

Environment

VCF 5.2

Cause

Trying to add a host with existing configuration present to a new VCF cluster. 

Resolution

Reinstall ESXi on ESXi host to prepare for valid deployment.  

Additional Information

Prepare ESXi Hosts for VMware Cloud Foundation

Install ESXi Interactively and Configure Hosts for VMware Cloud Foundation