When attempting a VMware Cloud Foundation (VCF) 9.0.2 Brownfield Deployment, the process fails during the validation phase. Specifically, you may observe the following symptoms:
The deployment fails at Step 13: Validate and Deploy during the Brownfield VCF Management Components validation.
An error is thrown indicating an inability to connect to VCF Operations fleet management.
Reviewing the /var/log/vmware/vcf/ reveals the following error trace:domainmanager/domainmanager.log
YYYY-MM-DDTHH-MM-SS+0000 DEBUG [vcf_dm,69d49f115cb1dda3bf507e3c4cb55491,d948] [c.v.e.s.o.c.c.ContractParamBuilder,dm-exec-21] Contract task AuditBrownfieldVcfManagementSuiteAction result:{"combinedAuditBrownfieldVcfManagementSuiteResponse": {"errorCode": "BROWNFIELD_VCF_MANAGEMENT_SUITE_VALIDATION.error...", "validation.taskId": "0a2ef50a-9d5f-155d-819d-668a0e51030d"}, "message": "Brownfield VCF Management Components validation failed", "nestedErrors": [ ... {"errorCode": "BROWNFIELD_VCF_OPERATIONS_MGMT_CONNECTIVITY_VALIDATION.error", "arguments": ["#########"],"context": {"severity":"ERROR","bundleName": "com.vmware.evo.sddc.common.validation.errors.messages", "validation.taskId": "0a2ef50a-9d5f-155d-819d-668a0e51030d"}, "message": "Failed to connect to VCF Operations fleet management with address ########"} ... ]}VMware Cloud Foundation (VCF) 9.0.2
This issue occurs due to an authentication failure. An incorrect administrator password was provided for VCF Operations fleet management during the configuration steps.
Because the credentials are invalid, the domainmanager service receives an HTTP 401 Unauthorized response when attempting to retrieve system details via the API endpoint, preventing the validation from completing successfully.
This can be verified further up in the /var/log/vmware/vcf/:domainmanager/domainmanager.log
YYYY-MM-DDTHH-MM-SS+0000 DEBUG [vcf_dm,69d49f115cb1dda3bf507e3c4cb55491,d948] [c.v.e.s.r.c.LoggingHttpRequestInterceptor,dm-exec-21]/api/v2/settings/system-detailsRequest method: GETRequest bodyResponse code: 401 UNAUTHORIZEDResponse headers: [Date:"Tue, 0# Apr #### ##:##:## GMT", Content-Type:"application/json", ...]Response body: {"code":401, "description": "Bad credentials"}
YYYY-MM-DDTHH-MM-SS+0000 ERROR [vcf_dm,69d49f115cb1dda3bf507e3c4cb55491,d948] [c.v.e.s.c.v.v.VcfOpsMgmtServiceImpl, dm-exec-21]Failed to get system info from VCF Operations Management #######
To resolve this issue, you must update the VCF Installer with the correct credentials for VCF Operations fleet management.
In the VCF Installer UI, navigate back to Step 3 (VCF Operations).
Update the administrator credentials, ensuring that the correct password is provided for VCF Operations fleet management.
Proceed forward through the VCF Installer steps to return to Step 13.
Re-run the Validate and Deploy process.
Providing valid credentials resolves the 401 Unauthorized condition, allowing the domainmanager to successfully query the /lcm/lcops/api/v2/settings/system-details API endpoint and pass the connectivity validation.