A general system error occurred. "A depot is inaccessible or has invalid contents" when performing vLCM Sync Updates from vCenter Server.
search cancel

A general system error occurred. "A depot is inaccessible or has invalid contents" when performing vLCM Sync Updates from vCenter Server.

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:

Environment

 

 

Cause

This issue can occur due to any of the following reasons:

  • Configured download URL's are still using depreciated VMware URL's and not updated with Broadcom URL's with a valid token
  • Additional custom depot URL's such as http://vibsdepot.example.com/index.xml or the default Life cycle manager URL's  https://hostupdate.vmware.com  are enabled but Not Connected as a download source.

This leads to errors or failures when attempting to fetch VIBs or updates from that repository.

Resolution

  • Go to vCenter Server → Lifecycle Manager → Settings → Patch Setup
  • Ensure the download source URL's are configured with Broadcom URL's and the status is Enabled and Connected. If not update the URL's by referring to Update Lifecycle Manager depository URL at vSphere Client
  • Disable and remove any partner sources and the default Life cycle manager URLs (https://hostupdate.vmware.com) marked as "Not Connected" from the list and try to resync.

Additional Information