domainjoin-cli utility, the process fails with a configuration stage error. This typically occurs when the system identifies that the FQDN is invalid or does not meet the necessary formatting requirements for the join process.root@localhost [ /opt/likewise/bin ]# ./domainjoin-cli join <domain-name> user@<domain-name>Error: Required configuration stage not enabled [code 0x0000a606]The configuration of module 'set computer hostname' is required. Please either allow this configuration stage to be performed automatically (by passing '--enable hostname'), or manually perform these configuration steps and rerun the domain join:The following step(s) are required: Change the fqdn from 'vCenter01' to 'vcenter01.fqdn.dom'. The current fqdn is invalid because it does not contain a dot in the name. Changing the fqdn could be done via DNS, but this program will change it with the following steps: * Making sure local comes before bind in nsswitch * Adding the fqdn before all entries in /etc/hosts that contain VMware vCenter Server 7.x
VMware vCenter Server 8.x
The issue is caused by a mismatch between the VCSA Hostname and the Primary Network Identifier (PNID). Specifically, if the Hostname is set to a short name while the PNID is set to an IP address or a different FQDN format, the Likewise service (used for domain joining) cannot reconcile the identity leading to the 0x0000a606 configuration error.
# hostname<vCenter FQDN>
#/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost<vCenter IP Address>
The workaround for this issue, the PNID must be updated to match the desired FQDN:
https://<vCenter FQDN>:5480.Networking > Edit. <Temporary FQDN>.(https://<Temporary FQDN>:5480).Networking > Edit.<vCenter FQDN>.