The SDDC lifecycle task 'Configure service' (<id>) failed. An unexpected error occurred in step configure_sddc_lcm_task_ref. Reference Code: #########. Please contact support with this reference code. Detail: null Reference Token: #######The SDDC lifecycle task 'Configure service' (<id>) failed. An unexpected error occurred in step configure_sddc_lcm_task_ref. Reference Code: #########. Please contact support with this reference code. Detail: Unexpected server error has occurred. Reference Token: ######
/var/log/vmware/vcf/domainmanager/domainmanager.log:SDDC Manager service account creation call response status is not successful.YYYY-MM-DDTHH:MM:SS.#### ERROR [vcf_dm,######################,####] [c.v.v.v.s.fleetlcm.FleetLcmService,dm-exec-####] Could not create SDDC Manager service account.Caused by: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 on POST request for "/v1/users": "{"errorCode":"PERMISSION_ALREADY_EXISTS","arguments":[],"message":"One or more User(s) or Group(s) with the selected Role already exist","referenceToken":"######"}"During brownfield onboarding or validation workflows, the lifecycle management component expects the administrator user to belong strictly to the native, default Single Sign-On (SSO) domain (e.g., vsphere.local).
To resolve this issue, update the SDDC deployment specification to reference a valid account belonging to the native default SSO domain, then patch the deployment task.
SSH into the VCF Installer as the vcf user then su to root:
Generate a local API access token by executing the following command accessToken=$(curl -H 'Content-Type:application/json' https://localhost/v1/tokens -d '{"username":"admin@local","password":"<ADMIN-PASSWORD>"}' -k | jq -r '.accessToken')
Retrieve the target SDDC identification string. If multiple deployment attempts exist, look for the most recent entry:curl -k --location --request GET 'https://localhost/v1/sddcs' -H "Content-type:application/json" --header 'Authorization: Bearer '$accessToken | json_pp
Export the specific SDDC configuration specification schema into a local JSON payload template file.curl -k --location --request GET 'https://localhost/v1/sddcs/<SDDC-ID>/spec' -H "Content-type:application/json" --header 'Authorization: Bearer '$accessToken | json_pp > input.json
Open the input.json configuration file in a text editor.
Locate the adminUserSsoUsername and adminUserSsoPassword parameters.
Modify the values to use an administrative credential native to the default vCenter Server SSO domain (e.g., [email protected]). Save and close the file.
Commit the corrected deployment payload configuration back to the API and resume the lifecycle orchestration task:curl -k --location --request PATCH 'https://localhost/v1/sddcs/<SDDC-ID>' -H "Content-type:application/json" --header 'Authorization: Bearer '$accessToken -d @input.json | json_pp