"A depot is inaccessible or has invalid contents" when performing LCM Sync Updates
search cancel

"A depot is inaccessible or has invalid contents" when performing LCM Sync Updates

book

Article ID: 382820

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Sync updates task fails with status: A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot.

  • No patch builds are listed in the Updates tab of the Lifecycle Manager and there are no firewalls or network-level blocks preventing access

  • vCenter server /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log

    [YYYY-MM-DDTHH:MM:SS] verbose vmware-vum-server[11509] [Originator@6876 sub=httpDownload] [httpDownloadPosix 188] * Connection #58 to host .com left intact
    [YYYY-MM-DDTHH:MM:SS] info vmware-vum-server[11509] [Originator@6876 sub=httpDownload] [httpDownloadPosix 769] curl_easy_perform() succeeded - url: 
    [YYYY-MM-DDTHH:MM:SS] warning vmware-vum-server[11509] [Originator@6876 sub=VumVapi::Lib::Utils] [EmbeddedPyServiceProvider 472] Connecting to http://vibsdepot.example.com/, err: HTTP Error Code: 404
    [YYYY-MM-DDTHH:MM:SS] warning vmware-vum-server[11509] [Originator@6876 sub=VumVapi::Lib::Utils] [EmbeddedPyServiceProvider 425] Failed 10 times when connecting online depot http://vibsdepot.example.com/
    [YYYY-MM-DDTHH:MM:SS] error vmware-vum-server[11509] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1570] At least one online depot is not accessible: https://hostupdate.vmware.com/software/VUM/PRODUCTION/addon-main/vmw-depot-index.xmll, https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xmll, https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xmll, https://hostupdate.vmware.com/software/VUM/PRODUCTION/vmtools-main/vmw-depot-index.xmll, http://example.com, http://example.com, http://example.com/
    [YYYY-MM-DDTHH:MM:SS] error vmware-vum-server[11509] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.SyncDepotsTask] [SyncDepotsTask 221] Failed to sync depots. Merged depot content is invalid: Error:
    -->    com.vmware.vapi.std.errors.error
    --> Messages:
    -->    com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError<A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot.

    [YYYY-MM-DDTHH:MM:SS] warning vmware-vum-server[11509] [Originator@6876 sub=VumVapi::Lib::Utils] [EmbeddedPyServiceProvider 425] Failed 10 times when connecting online depot 

  • In the vCenter server → Lifecycle Manager → Settings → Patch setup:

Cause

The issue occurs when a custom depot URL, such as http://vibsdepot.example.com/index.xml, becomes inaccessible while it is still enabled as a download source. This leads to errors or failures when attempting to fetch VIBs or updates from that repository.

Resolution

  • Go to vCenter ServerLifecycle ManagerSettings → Patch Setup
  • Disable and remove any partner sources marked as "Not Connected" from the list.

Additional Information