Online Depot is not authenticating the Download token - Failed to connect to VMware depot with the provided user credentials
search cancel

Online Depot is not authenticating the Download token - Failed to connect to VMware depot with the provided user credentials

book

Article ID: 455175

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Configuring the Online depot with download token from VCF Ops UI -> Fleet Management -> Lifecycle -> VCF Instances -> <VCF Instance Name> -> Depot Settings -> <Enter Download Token> -> Authenticate fails with below error message.
    Failed to connect to VMware depot with the provided user credentials. Cause: Internal error while validating credentials

  • The SDDC manager /var/log/vmware/vcf/lcm/lcm-debug.log contains 403 Forbidden errors.
YYYY-MM-DDTHH:MM:SS.mmm+0000 INFO  [vcf_lcm, .. [c.v.e.s.l.s.i.DepotSettingsServiceImpl,http-nio-127.0.0.1-7400-exec-2] validating VCF_DEPOT account
YYYY-MM-DDTHH:MM:SS.mmm+0000 DEBUG [vcf_lcm, ..] [c.v.e.s.l.b.d.depot.DepotDownloader,http-nio-127.0.0.1-7400-exec-2] Got response: 403 Forbidden HTTP/1.1
YYYY-MM-DDTHH:MM:SS.mmm+0000 ERROR [vcf_lcm, ..] [c.v.e.s.l.b.d.depot.DepotDownloader,http-nio-127.0.0.1-7400-exec-2] Error getting file size, got response: 403 Forbidden HTTP/1.1
YYYY-MM-DDTHH:MM:SS.mmm+0000 ERROR [vcf_lcm, ..] [c.v.v.l.r.a.c.v.s.DepotSettingsController,http-nio-127.0.0.1-7400-exec-2] Update Depot Settings
com.vmware.evo.sddc.lcm.model.depot.exception.DepotConnectionFailureException: Internal error while validating credentials

Environment

VCF Operations 9.0

Cause

The LCM DEPOT PROPERTIES is configured incorrectly in /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties in the SDDC manager.

Resolution

  1. SSH to the SDDC manager and switch to the root user
  2. cd /opt/vmware/vcf/lcm/lcm-app/conf/
  3. cp -a application-prod.properties application-prod.properties.bkup
  4. vi application-prod.properties
    • locate the LCM DEPOT PROPERTIES section it should look like this.
    • ################### LCM DEPOT PROPERTIES ########################
      lcm.depot.adapter.host=dl.broadcom.com
      lcm.depot.adapter.port=443
      lcm.depot.adapter.remote.v2.rootDir=/PROD
  5. Ensure the remote.v2.rootDir line is exactly as entered above.
  6. Press the ESC key and save the file with wq!
  7. Restart the LCM service.
    • systemctl restart lcm

Additional Information

This error may also be caused by a certificate issue:

VCF Operations Online Depot is not authenticating the Download token - Failed to connect to VMware depot with the provided user credentials. Cause: Internal error while validating credentials