Connecting to Broadcom depot failed with error " Failed to connect to VMware depot with the provided user credentials. Cause: {0}.
search cancel

Connecting to Broadcom depot failed with error " Failed to connect to VMware depot with the provided user credentials. Cause: {0}.

book

Article ID: 407405

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

While connecting to the Depot it failed with error " Error: "Failed to connect to VMware depot with the provided user credentials. Cause: {0}."

Environment

VCF 5.x

Cause

This issue occurs when all the parameters on /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties, are not updated correctly.

Resolution

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:

  1. Log in to the SDDC Manager UI.

  2. Navigate to the Administration section in the navigation pane.

  3. Click on Depot Settings.

  4. For an online depot, enter your VMware Customer Connect service account credentials (username and password).

  5. Click Authenticate to establish the connection.

The depot should now connect successfully.