When adding a new ESXi host to an existing VMware Cloud Foundation (VCF) 9.x cluster, the host is successfully commissioned in SDDC Manager, but the subsequent Add Host to Cluster workflow fails.
The following error is displayed in SDDC Manager:
Remediate added host using VCP desired cluster configuration
Description: Remediate added host using VCP desired cluster configuration
Progress Messages: Failed to remediate add host(s) to cluster: domain-c#
Upon further investigation in vCenter Server, navigate to Cluster > Configure > Desired State > Configuration > Compliance.
The newly added ESXi host reports:
Desired configuration failed validation on the host.
Check compliance is skipped.
Additional validation errors may indicate missing VMkernel IP address configurations:
Path:
/host-specific/<HOST-UUID>/esx/network/vmknics/0/ip/ipv4_address
Can not set default gateway on 'vmk0'
because ip address unset.
VMware Cloud Foundation 9.0, 9.1
VMware vCenter Server 9.0, 9.1
VMware ESXi 9.0, 9.1
vSphere Configuration Profiles (VCP) enabled
The cluster has vSphere Configuration Profiles enabled, which manages ESXi host settings through a centralized Desired Configuration.
When a new ESXi host is added, its host-specific network settings, such as VMkernel IP addresses and hostname, may be missing from the host-specific section of the Cluster Configuration JSON file.
Consequently, VCP validation fails, preventing SDDC Manager from completing the Add Host to Cluster workflow.
1. Identify the UUID of the newly added ESXi host
In vCenter Server, navigate to Cluster > Configure > Desired State > Configuration > Compliance.
Identify the UUID of the newly added ESXi host from the validation error.
Alternatively, connect to the newly added ESXi host via SSH and run the following command to obtain its UUID:
smbiosDump | grep UUID
2. Export the Cluster Configuration
Navigate to Cluster > Configure > Desired State > Configuration > Settings > Export > Cluster Configuration.
Download the exported JSON file.
3. Update the JSON configuration
Locate the host-specific section and copy an existing host's configuration block to create an entry for the new ESXi host.
Example:
"host-specific": {
"<EXISTING_HOST_UUID>": {
"esx": {
"network": {
"vmknics": [
{
"ip": {
"ipv4_address": "<EXISTING_HOST_IP>",
"ipv4_subnet_mask": "<EXISTING_NETMASK>"
},
"device": "vmk0"
}
],
"net_stacks": [
{
"key": "defaultTcpipStack",
"host_name": "<EXISTING_HOSTNAME>"
}
]
}
}
},
"<NEW_HOST_UUID>": {
"esx": {
"network": {
"vmknics": [
{
"ip": {
"ipv4_address": "<NEW_HOST_IP>",
"ipv4_subnet_mask": "<NEW_HOST_NETMASK>"
},
"device": "vmk0"
}
],
"net_stacks": [
{
"key": "defaultTcpipStack",
"host_name": "<NEW_HOSTNAME>"
}
]
}
}
}
}
Important notes:
Replace all placeholders with the actual values of the corresponding ESXi hosts.
Add a comma (,) after the existing host's closing brace before inserting the new host configuration block.
The JSON example only includes vmk0 for simplicity. If the JSON contains additional VMkernel adapters, such as vmk1, vmk2, etc., update their IP addresses and associated settings for the new host.
Preserve the existing JSON structure and configuration.
4. Import the updated configuration
Navigate to Cluster > Configure > Desired State > Configuration > Draft > Import from File.
Import the modified JSON file, review the changes, and apply the updated Desired Configuration.
Run Check Compliance and verify that the newly added ESXi host no longer reports the validation error.
Note: Manual remediation is not required at this stage.
5. Restart the failed workflow
Return to SDDC Manager and click Restart on the failed task to resume the failed Add Host to Cluster workflow.
Verify that the workflow completes successfully.
This issue occurs when the target cluster has VCP enabled and the newly added ESXi host is missing the required host-specific settings in the Desired Configuration.