Cluster Creation Fails on imported Workload Domain in the SDDC Manager with the Error: "Failed to validate host selection: Invalid Parameter: hostsOnly=true, skipHostSwitchValidation=false"
search cancel

Cluster Creation Fails on imported Workload Domain in the SDDC Manager with the Error: "Failed to validate host selection: Invalid Parameter: hostsOnly=true, skipHostSwitchValidation=false"

book

Article ID: 420375

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • When trying to add a new cluster to an imported WLD, the SDDC Manager displays the below red banner on step 4 "Switch Configuration":

    Failed to validate host selection: Invalid Parameter: hostsOnly=true, skipHostSwitchValidation=false
    (Provided the VDS configuration is applied to the hosts in the cluster.)

  • In /var/log/vmware/vcf/domainmanager/domainmanager.log logs of the SDDC manager, the below error can be seen: 

    Error reading inventory for NSX transport zones information for domain #####
    No default cluster found for domain   :   #####


Environment

  • VMware Cloud Foundation 5.x

Cause

Due to the Workload domain being imported earlier to VCF, no cluster was marked as default to that Workload domain thus failing the workflow.

Resolution

Note: This is a destructive operation. Ensure that all necessary backups and snapshots are taken prior to proceeding with the steps below to avoid any issue. To be able to add a new cluster to a Workload Domain, we have to set another cluster in the Workload Domain as default, so that the required cluster can be successfully created.

Log a case through the Broadcom Support Portal to engage a Technical Support Engineer (TSE). Ensure that a snapshot of the SDDC Manager VM is taken beforehand, and reference this Knowledge Base (KB) article when submitting the case to support.