After switching to the authenticated downloads there is still an error: A general system error occurred: com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError.
search cancel

After switching to the authenticated downloads there is still an error: A general system error occurred: com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError.

book

Article ID: 399601

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

After switching to the authenticated downloads, https://dl.broadcom.com/{token}/ an error occurs, and syncing updates still is not working.

From the vCenter UI the error: A general system error occurred: com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError. is displayed.

Cause

In the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log we can see the following:

YYYY-MM-DDTHH:MM:SS.SSSZ error vmware-vum-server[19793] [Originator@6876 sub=ServiceProvider] [EmbeddedPyServiceProvider 1361] Failed to validate depots: https://hostupdate.vmware.com/software/VUM/PRODUCTION/addon-main/vmw-depot-index.xml, https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml, https://hostupdate.vmware.com/software/VUM/PRODUCTION/vmtools-main/vmw-depot-index.xml, https://dl.broadcom.com/{token}/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml, https://dl.broadcom.com/{token}/PROD/COMP/ESX_HOST/addon-main/vmw-depot-index.xml, https://dl.broadcom.com/{token}/PROD/COMP/ESX_HOST/iovp-main/vmw-depot-index.xml, https://dl.broadcom.com/{token}/PROD/COMP/ESX_HOST/vmtools-main/vmw-depot-index.xml
YYYY-MM-DDTHH:MM:SS.SSSZ error vmware-vum-server[19793] [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.SSSZ info vmware-vum-server[19793] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.SyncDepotsTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.SyncDepotsTask ID:5222d647-72ba-afdf-b129-64ef337374c2. Finalizing Task
YYYY-MM-DDTHH:MM:SS.SSSZ info vmware-vum-server[19793] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.SyncDepotsTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.SyncDepotsTask ID:5222d647-72ba-afdf-b129-64ef337374c2. Task Finalization completed.
YYYY-MM-DDTHH:MM:SS.SSSZ error vmware-vum-server[19793] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.SyncDepotsTask] [Task, 457] Task:com.vmware.vcIntegrity.lifecycle.SyncDepotsTask ID:5222d647-72ba-afdf-b129-64ef337374c2. Task Failed. Error: 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.SSSZ warning vmware-vum-server[19792] [Originator@6876 sub=TaskStatsCollector] [taskStatsCollector 190] Task type or creation time not present
YYYY-MM-DDTHH:MM:SS.SSSZ info vmware-vum-server[19793] [Originator@6876 sub=PM.AsyncTask.SyncDepotsTask{24}] [vciTaskBase 1372] SerializeToVimFault fault:
--> (vmodl.fault.SystemError) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError",
-->          arg = <unset>,
-->          message = <unset>
-->       }
-->    ],
-->    reason = "vLCM Task failed, see Error Stack for details."
-->    msg = "{
-->     "data": null,
-->     "error_type": "ERROR",
-->     "messages": [
-->         {
-->             "args": [],
-->             "default_message": "A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot.",
-->             "id": "com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError"
-->         }
-->     ]
--> }"
--> }
--> Converted fault:
--> (vim.fault.ExtendedFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError",
-->          arg = <unset>,
-->          message = <unset>
-->       }
-->    ],
-->    faultTypeId = "SystemError",
-->    data = (vim.KeyValue) [
-->       (vim.KeyValue) {
-->          key = "faultCause",
-->          value = ""
-->       },
-->       (vim.KeyValue) {
-->          key = "reason",
-->          value = "vLCM Task failed, see Error Stack for details."
-->       }
-->    ]
-->    msg = "{
-->     "data": null,
-->     "error_type": "ERROR",
-->     "messages": [
-->         {
-->             "args": [],
-->             "default_message": "A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot.",
-->             "id": "com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError"
-->         }
-->     ]
--> }"
--> }

This is due to the old https://hostupdate.vmware.com depots still being enabled and no longer valid.

Resolution

Disabling the old depots will correct this issue - How to disable the hostupdate.vmware.com depots.

Additional Information