A VMware Cloud Foundation (VCF) 9.0.0.0 deployment fails during the Deploy and configure the fleet management appliance step.
The following errors are observed in the deployment logs:
SDDC Initialization Failure: SDDC Initialize Task 'Generate and Install VMCA Certificate on SDDC Manager' failed with error 'Failed to install VMCA Certificate on SDDC Manager 127.0.0.1'
SDDC Manager Log (domainmanager.log): API failure during install certificate Code: 500, error: {"errorCode":"CERT_REPLACEMENT_FAILED"..."causes":[{"type":"java.security.cert.CertificateException","message":"Hostname in CN field [127.0.0.1] could not be resolved to an IP address of the SDDC manager [IP Address]"}]}
SSH Authentication Failure: After manually resolving the certificate issue, subsequent tasks (such as uploading vRSLCM binaries) fail with: com.jcraft.jsch.JSchException: Auth fail
VCF 9.x
The initial failure is due to a known issue in VCF 9.0 where the SDDC Manager FQDN is incorrectly mapped to the loopback address (127.0.0.1) in the /etc/hosts file VCF 9.0 deployment fails at "Generate and Install VMCA Certificate on SDDC Manager" stage with error "Failed to install VMCA Certificate on SDDC Manager 127.0.0.1 Reference Token: <ID>"
If manual intervention was performed via SSH to fix the /etc/hosts file, the vcf user account may have become locked due to repeated failed attempts or the password was inadvertently changed, leading to the Auth fail error in later deployment stages.
/etc/hosts fileIf the deployment is still failing at the certificate stage, refer to the following article to correct the loopback mapping VCF 9.0 deployment fails at "Generate and Install VMCA Certificate on SDDC Manager" stage with error "Failed to install VMCA Certificate on SDDC Manager 127.0.0.1 Reference Token: <ID>"
/etc/hosts and comment out the entry where the FQDN is mapped to 127.0.0.1/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.shIf the deployment fails with Auth fail, perform the following from the SDDC Manager VM console (not SSH):
Review this command before running it.
faillock --reset --user vcf
passwd vcfVerify Access: Attempt to SSH manually from the VCF Installer appliance using the vcf user and the auto-generated password. If successful, click Retry in the VCF Installer to continue the deployment.