Add host to cluster in SDDC Manager has an error - No unassigned hosts available with storage type FC. Commission hosts with physical NICs 0 &1 to Add Host from UI.
search cancel

Add host to cluster in SDDC Manager has an error - No unassigned hosts available with storage type FC. Commission hosts with physical NICs 0 &1 to Add Host from UI.

book

Article ID: 376808

calendar_today

Updated On:

Products

VMware SDDC Manager VMware Cloud Foundation

Issue/Introduction

  • Add host to cluster from SDDC Manager UI has the below error
    No unassigned hosts available with storage type FC. Commission hosts with physical NICs 0 &1 to Add Host from UI.

     

  • Error in /var/log/vmware/vcf/domainmanager/domainmanager.log
    ERROR [vcf_dm,fe###########a9,e49d] [c.v.v.h.a.h.AddHostClusterCompatibilityValidationAction,dm-exec-1]  Vmnic/vds/uplink association in the cluster is not same across all hosts. Please provide associations for vmnics to vds and uplinks explicitly in the input spec.
    ERROR [vcf_dm,fe###########a9,e49d] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-1]  [U####9] CLUSTER_HOSTS_CONTAIN_NON_HOMOGENEOUS_CONFIG Vmnic/vds/uplink association in the cluster is not same across all hosts.
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Vmnic/vds/uplink association in the cluster is not same across all hosts.
            at com.vmware.vcf.hostmanager.action.header.AddHostClusterCompatibilityValidationAction.validateHostCompatibility(AddHostClusterCompatibilityValidationAction.java:111)
            at com.vmware.vcf.hostmanager.action.header.AddHostClusterCompatibilityValidationAction.execute(AddHostClusterCompatibilityValidationAction.java:57)
            at com.vmware.vcf.hostmanager.action.header.AddHostClusterCompatibilityValidationAction.execute(AddHostClusterCompatibilityValidationAction.java:39)

Environment

VMware Cloud Foundation

Resolution

Add host to cluster in SDDC Manager with cluster expansion workflow from the API.

Follow the below steps

  1. Take a snapshot of the SDDC Manager VM through vCenter UI.
  2. SSH to SDDC Manager with vcf and su to root.
  3. Create the Cluster expansion spec file with the name clusterExpansionSpec.json - Refer ClusterExpansionSpec 
  4. Generate the token using Token API.
    curl -X POST -H "Content-Type: application/json" -d '{"username": "<SSO_USERNAME>","password": "<SSO_PASSWORD>"}' https://<sddcmanagerIp>/v1/tokens | json_pp

    Sample

    curl -X POST -H "Content-Type: application/json" -d '{"username": "[email protected]","password": "****"}' https://198.51.100.1/v1/tokens | json_pp
  5. Login to SDDC Manager and execute the cluster expansion *Validation* API.
    curl 'https://<SDDC_MANAGER_FQDN>/v1/clusters/<CLUSTER_ID>/validations' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer <BEARER_TOKEN from above command>' -d @clusterExpansionSpec.json
  6. Once the Add Host validation API succeeds, the actual cluster expansion (or add host) API can be triggered.