ESXi upgrade precheck fails with hostname validation error due to host NIC count mismatch
search cancel

ESXi upgrade precheck fails with hostname validation error due to host NIC count mismatch

book

Article ID: 462922

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Attempting to run an ESXi upgrade or upgrade precheck using vSphere Lifecycle Manager (vLCM) images in VMware Cloud Foundation (VCF) SDDC Manager fails.
  • In the SDDC Manager UI (Error Details), the VCF LCM Service reports the following errors:
    ESXi hostname validation failed. This issue typically arises from either invalid or unresolvable Fully Qualified Domain Names (FQDNs) on the hosts, or a potential out-of-band (OOB) host deletion. In the event of an out-of-band (OOB) deletion of an ESXi host previously known to SDDC-M, inventory discrepancies may arise.
    Error Code: com.vmware.vcf.error.runtime.esx.vlcm.precheck.hostname.failed.exception

    ESX upgrade using vSphere Lifecycle Manager images failed. Error Code: com.vmware.vcf.error.runtime.esx.vlcm.upgrade.failed.exception
  • DNS forward and reverse lookups for all ESXi hosts in the cluster resolve properly despite the hostname validation warning.

Environment

VMware Cloud Foundation 9.1.1

Cause

The number of physical network interface cards (pNICs) recorded across the ESXi hosts in the cluster is inconsistent within the management platform's inventory database.

Although the UI error (esx.vlcm.precheck.hostname.failed.exception) generically suggests an invalid/unresolvable FQDN or an out-of-band host deletion, the underlying trigger is an inventory discrepancy between SDDC Manager and vCenter Server. Because the vLCM upgrade precheck enforces uniform hardware/network configurations across all nodes in a cluster and validates host metadata against inventory records, stale or out-of-sync NIC counts on one or more nodes cause the validation check to fail.

Resolution

Perform a manual inventory synchronization to reconcile the host hardware and network configuration records across the cluster:

  1. Verify Physical NIC Consistency in vCenter
  2. Trigger Manual Inventory Sync from SDDC Manager
  3. Re-run the ESXi Upgrade Precheck