No unassigned hosts available with storage type VSAN. Commission hosts with at-least one physical NIC to Add Cluster from UI.VMware Cloud Foundation 9.x
VMware SDDC Manager 9.x
Example of API Request for Unassigned Hosts (WLD): Log location in SDDC Manager var/log/vmware/vcf/sddc-manager-ui-app/access.log
<sddc_manager_IP> - "GET /ui/api/v1/hosts?status=UNASSIGNED_USEABLE&storageType=VSAN,VSAN_REMOTE&esxiVersion=9"There are three options to resolve this issue and proceed with the new cluster creation, depending on the desired target state of the Workload Domain:
Option 1: Fully Upgrade the Workload Domain (WLD) to 9.x
The recommended approach is to bring the entire WLD up to the expected 9.x version, thereby making the hosts compatible with the upgraded VC and NSX versions.
psql -h localhost -U postgres -d platform -c "select id,name,is_default from cluster where is_default='t'"
Option 2: Create the New Cluster in same Workload Domain with the Host version 8.0.3.
You need to decommission the existing unassigned 9.x hosts for the new cluster and re-image them at version 8.0.3 and commission them in SDDC Manager again. This option then allows the new cluster creation to proceed immediately as the host version now matches the existing 8.0.3 hosts in the WLD.
Note: During the Add Cluster Wizard, it asks to select a cluster image, if a 9.x image is available it can be applied and it will result in the ESXi hosts getting remediated to comply with the Cluster image so no further upgrade would be required on the ESXi hosts once the cluster is created.
Option 3: Create the New Cluster using API
GET /v1/hosts. {
"elements": [
{
"id": "########-####-####-####-############", <======= The ID of the host to be added
"fqdn": "esxi-01.example.com",
"status": "UNASSIGNED",
...
}
]
}GET /v1/domains.POST /v1/clusters.{
"clusterName": "New-Workload-Cluster",
"domainId": "########-####-####-####-############", ========> The domain ID from step 5
"hosts": [
{ "id": "########-####-####-####-############" }, ========> The host ID from step 4
{ "id": "########-####-####-####-############" },
{ "id": "########-####-####-####-############" }
],
"clusterImage": {
"id": "########-####-####-####-############"
},
"storage": {
"type": "VSAN",
"vsanSpec": {
"vsanServiceLevel": "DEFAULT"
}
},
"networkSpec": {
"vdsSpecs": [
{
"name": "vds-name",
"portGroupSpecs": [
{
"name": "management-pg",
"transportType": "MANAGEMENT"
}
]
}
]
}
}POST /v1/clusters call.