Downloading Esx metadata, vibs and vendor add-ons UMDS_SYNC task fails Message: Failed to execute UMDS command: /opt/vmware/vmware-umds/bin/vmware-umds -D --info-level error --task-id
search cancel

Downloading Esx metadata, vibs and vendor add-ons UMDS_SYNC task fails Message: Failed to execute UMDS command: /opt/vmware/vmware-umds/bin/vmware-umds -D --info-level error --task-id

book

Article ID: 429876

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

In vSphere 9.X we can configure use the SDDC as a UMDS download repository, see documentation Use UMDS on SDDC Manager to Get ESX Component Data

There is a scheduled automated task, that can also be triggered manually 

Fleet Management > Lifecycle -> Our VCF Instance > Binary Management > ESXi Components > Synchronize now.

This task runs for 1 or 2 days, and fails with a genetic error message

Failed to execute UMDS command: /opt/vmware/vmware-umds/bin/vmware-umds -D --info-level error --task-id ###########


Logs show error 403 [forbidden] and lists the URLs that fail 
403 indicates that the token used is not entitled for the download of said resource 

# grep -i vmware-downloadService /var/log/vmware/vcf/lcm/lcm-debug.log
LocalProcess INFO: <DATE && TIME> - <DATE && TIME> error vmware-downloadService[03605] [Originator@6876 sub=HostUpdateDepotManager] [vibDownloaderImpl 463] HTTP Error Code: 403
LocalProcess INFO: <DATE && TIME> - <DATE && TIME> error vmware-downloadService[03605] [Originator@6876 sub=HostUpdateDepotManager] [vibDownloaderImpl 473] Waiting for 15 seconds to retry.
LocalProcess INFO: <DATE && TIME> - <DATE && TIME> error vmware-downloadService[03416] [Originator@6876 sub=DownloadMgr] [downloadMgr 709] Executing download job {139737234037744} throws error: HTTP Error Code: 403
LocalProcess INFO: <DATE && TIME> - <DATE && TIME> error vmware-downloadService[03416] [Originator@6876 sub=DownloadMgr] [downloadMgr 817] Download failed for url: https://dl.broadcom.com/<TOKEN_HERE>/PROD/COMP/ESX_HOST/main/esx/vmw/vib20/vmkata/VMW_bootbank_vmkata_0.1-1vmw.700.1.0.15843807.vib

Environment

VMware vSphere 9.x 

Resolution

Depending on configuration and entitlement - see VCF Authenticated Downloads Token Troubleshooting Guide, the Token/ Site ID might not be entitled for 7.x or 8.x.
To stop the download for a specific Product version - example below will be 7.X - please follow the process described below:
 

  1. SSH into the SDDC Manager appliance with the vcf user then elevate to root with su.
  2. View the configuration of the UMDS with command: 
    /opt/vmware/vmware-/bin/vmware-umds -G
    Example output: 
    RL Type Removable URL
    HOST     NO       https://dl.broadcom.com/<TOKEN_HERE>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml
    HOST     NO       https://dl.broadcom.com/<TOKEN_HERE>/PROD/COMP/ESX_HOST/addon-main/vmw-depot-index.xml
    HOST     NO       https://dl.broadcom.com/<TOKEN_HERE>/PROD/COMP/ESX_HOST/iovp-main/vmw-depot-index.xml
    HOST     NO       https://dl.broadcom.com/<TOKEN_HERE>/PROD/COMP/ESX_HOST/vmtools-main/vmw-depot-index.xml
    No Default URLs Configured
    
    Patch store location  : /nfs/vmware/vcf/nfs-mount/umds/patch-store
    Export store location :
    Proxy Server          : Not configured
    
    Host patch content download: enabled
    Host Versions for which patch content will be downloaded:
    esxio-8.0-INTL
    esxio-9.0-INTL
    embeddedEsx-7.0-INTL
    embeddedEsx-8.0-INTL
    embeddedEsx-9.0-INTL
  3. List the Host Platforms that are being downloaded with command: 
    /opt/vmware/vmware-umds/bin/vmware-umds --list-host-platforms
    Example output: 
    Supported ESX Host platforms:
    esxio-8.0-INTL
    esxio-9.0-INTL
    embeddedEsx-7.0-INTL
    embeddedEsx-8.0-INTL
    embeddedEsx-9.0-INTL
  4. If 7.x is being shown like above disable with command: 
    /opt/vmware/vmware-umds/bin/vmware-umds -S -d embeddedEsx-7.0.0
    Expected output: 
    Setting up UMDS configuration
    Host update downloads for platform embeddedEsx-7.0.0: Disabled
    **********************************************
    Command SUCCEEDED
    **********************************************
  5. Restart the lcm service via command: 
    systemctl restart lcm
  6. Manually re-trigger the ESX metadata task by completing the following via VCF Operations UI: 
    Navigate to the VCF Operations UI > Fleet Management > Lifecycle > vCenter Instance (the one with the issue) > Binary Management > ESXi Components > Synchronize Now

    There should be a task triggered in VCF Operations and SDDC Manager to check if this task completes successfully