"Failed to discovery domain inventory with vCenter" error on VCF Installer
search cancel

"Failed to discovery domain inventory with vCenter" error on VCF Installer

book

Article ID: 442959

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • VCF Installer fails during the "Discover the existing domain from vCenter" task when converting an existing vCenter to a new VCF instance.
  • The user interface reports the following error: Failed to discovery domain inventory with vCenter <vCenter-FQDN>
  • Review of the /var/log/vmware/vcf/domainmanager/domainmanager.log confirms the discovery workflow fails with an exception similar to: 
    YYYY-MM-DDTHH:MM:SSZ ERROR [vcf_dm,6a###################e,9#####e,9###] [c.v.v.d.u.DomainDiscoveryDatastoreHelper,dm-exec-##]  Discovering primary datastore candidates for cluster domain-### - cluster datastores []
    YYYY-MM-DDTHH:MM:SSZ DEBUG [vcf_dm,6a###################e,9#####e,9###] [c.v.v.d.u.DomainDiscoveryDatastoreHelper,dm-exec-##]  Discovered primary datastore candidates: [] for cluster domain-###
    YYYY-MM-DDTHH:MM:SSZ ERROR [vcf_dm,6a###################e,9#####e,9###] [c.v.v.d.u.DomainDiscoveryClusterHelper,dm-exec-##]  Failed to process cluster <Cluster-Name> in vCenter <vCenter-FQDN>, skipping com.vmware.vcf.discovery.errors.DiscoveryException: Failed to find datastore for cluster <Cluster-Name>.
    YYYY-MM-DDTHH:MM:SSZ ERROR [vcf_dm,6a###################e,9#####e,9###] [c.v.v.d.utils.DomainDiscoveryUtil,dm-exec-##]  Domain discovery failed for vCenter <vCenter-FQDN>: Could not discover cluster  <Cluster-Name> in vCenter <vCenter-FQDN> due to failure in processing: Failed to find datastore for cluster <Cluster-Name>.
    YYYY-MM-DDTHH:MM:SSZ ERROR [vcf_dm,6a###################e,9#####e,9###] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-##]  [####] DOMAIN_DISCOVERY_FAILED Failed to discovery domain inventory with vCenter <vCenter-FQDN>. com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to discovery domain inventory with vCenter <vCenter-FQDN>

Environment

VMware Cloud Foundation 9.x

Cause

This exception occurs when validation checks fail to locate a suitable primary datastore for the discovered cluster. The discovery validation logic strictly requires the following conditions to be met for every discovered cluster:

  • The cluster must contain a primary datastore (empty clusters are not permitted).
  • The datastore must be accessible, shared, and mounted read-write on every host in the cluster.
  • The datastore type must strictly match one of the following supported formats: VSAN, VSAN_REMOTE, NFS, VMFS, NFS41, or VVOL.

Resolution

  1. Identify the empty cluster lacking a primary datastore by checking the /var/log/vmware/vcf/domainmanager/domainmanager.log 
  2. If the cluster is empty and not intended for immediate VCF management, remove the empty cluster from the vCenter Server inventory to clear the discovery validation blocker.
  3. If the cluster is required, configure a supported primary datastore (VSAN, VSAN_REMOTE, NFS, VMFS, NFS41, or VVOL).
  4. Ensure the configured datastore is accessible, shared, and actively mounted with read-write permissions on every ESXi host within the affected cluster.
  5. Re-initiate the cluster discovery workflow in SDDC Manager.

Additional Information