While connecting to the Depot it failed with error " Error: "Failed to connect to VMware depot with the provided user credentials. Cause: {0}."
VCF 5.x
This issue occurs when all the parameters on /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties, are not updated correctly.
Validation and Correction of LCM Parameters
1.Verify Parameters
Navigate to the following path on the SDDC Manager VM:
/opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
Ensure that the parameters below are present and correctly configured:
lcm.depot.adapter.host=dl.broadcom.com lcm.depot.adapter.remote.rootDir=/<downloadToken>/PROD lcm.depot.adapter.remote.repoDir=/COMP/SDDC_MANAGER_VCF lcm.depot.adapter.remote.lcmManifestDir=/COMP/SDDC_MANAGER_VCF/lcm/manifest lcm.depot.adapter.remote.lcmProductVersionCatalogDir=/COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog
2. If Any Parameter is Missing or Incorrect
Take a snapshot of the SDDC Manager VM before making any changes.
SSH into the SDDC Manager VM and elevate to root privileges using command: su -
Edit the file using vi and correct or add the missing parameters as per the above parameter mention under step 1.
Save the changes.
3. Restart the LCM Service
Run the following command to apply the changes:
systemctl restart lcm
4.Reconnect to Depot
After restarting the service, please reconnect to the depot from the SDDC Manager UI by following the steps below:
Log in to the SDDC Manager UI.
Navigate to the Administration section in the navigation pane.
Click on Depot Settings.
For an online depot, enter your VMware Customer Connect service account credentials (username and password).
Click Authenticate to establish the connection.
The depot should now connect successfully.