vLCM reports "Uploading offline patches task failed while creating offline depot" during ESXi offline depot zip Import
search cancel

vLCM reports "Uploading offline patches task failed while creating offline depot" during ESXi offline depot zip Import

book

Article ID: 426367

calendar_today

Updated On:

Products

VMware SDDC Manager VMware vCenter Server

Issue/Introduction

  • When attempting to Import updates on vLCM the vCenter reports the following error at 20%

Uploading offline patches task failed while creating offline depot. Error: 'com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle'.

  • Reviewing the /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log it might be noticed that certain components in the bundle are missing.  

YYYY:MM:DDTHH:MM:SS error vmware-vum-server[26489] [Originator@6876 sub=DownloadOfflinePatchTask.DownloadOfflinePatchTask{47}] [downloadOfflinePatchTask 265] Offline bundle import failure: Vib file: /tmp/offlineBundleVlCXhY/vib20/bnxtne
t/VMW_bootbank_bnxtnet_2XXXXXX.vib missing in bundle
YYYY:MM:DDTHH:MM:SS info vmware-vum-server[26489] [Originator@6876 sub=DownloadOfflinePatchTask.DownloadOfflinePatchTask{47}] [vciTaskBase 1122] Task finished, state: 3
YYYY:MM:DDTHH:MM:SS error vmware-vum-server[26477] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask] [CreateOfflineDepotTask 196] DownloadOfflinePatchTask failed. Error: com.vmware.vcIntegrity.HostPatchInvali
dBundle
YYYY:MM:DDTHH:MM:SS info vmware-vum-server[26607] [Originator@6876 sub=JobDispatcher] [JobDispatcher 2258]  Removing task DownloadOfflinePatchTask{47}
YYYY:MM:DDTHH:MM:SS error vmware-vum-server[26477] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask] [CreateOfflineDepotTask 324] com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask 524be751-637a-a369-736
d-a3509a59921a failed.
YYYY:MM:DDTHH:MM:SS verbose vmware-vum-server[26462] [Originator@6876 sub=JobDispatcher] [JobDispatcher 469] The number of tasks: 1
YYYY:MM:DDTHH:MM:SS info vmware-vum-server[26477] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask] [Task, 524] Task:com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask ID:524be751-637a-a369-736d-a3509a59
921a. Finalizing Task
YYYY:MM:DDTHH:MM:SS info vmware-vum-server[26477] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask] [Task, 524] Task:com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask ID:524be751-637a-a369-736d-a3509a59
921a. Task Finalization completed.
YYYY:MM:DDTHH:MM:SS error vmware-vum-server[26477] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask] [Task, 524] Task:com.vmware.vcIntegrity.lifecycle.CreateOfflineDepotTask ID:524be751-637a-a369-736d-a3509a5
9921a. Task Failed. Error: Error:
-->    com.vmware.vapi.std.errors.error
--> Messages:
-->    com.vmware.vcIntegrity.lifecycle.depots.offline.DownloadOfflinePatchTaskErrorInfo<Uploading offline patches task failed while creating offline depot. Error: 'com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchI
nvalidBundle'.>
-->
YYYY:MM:DDTHH:MM:SS warning vmware-vum-server[26403] [Originator@6876 sub=TaskStatsCollector] [taskStatsCollector 190] Task type or creation time not present
YYYY:MM:DDTHH:MM:SS info vmware-vum-server[26477] [Originator@6876 sub=PM.AsyncTask.CreateOfflineDepotTask{46}] [vciTaskBase 1496] SerializeToVimFault fault:
--> (vmodl.fault.SystemError) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.depots.offline.DownloadOfflinePatchTaskErrorInfo",
-->          arg = (vmodl.KeyAnyValue) [
-->             (vmodl.KeyAnyValue) {
-->                key = "1",
-->                value = "com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle"
-->             }
-->          ],
-->          message = <unset>
-->       }
-->    ],
-->    reason = "vLCM Task failed, see Error Stack for details."
-->    msg = "{
-->     "data": null,
-->     "error_type": "ERROR",
-->     "messages": [
-->         {
-->             "args": [
-->                 "com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle"
-->             ],
-->             "default_message": "Uploading offline patches task failed while creating offline depot. Error: 'com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle'.",
-->             "id": "com.vmware.vcIntegrity.lifecycle.depots.offline.DownloadOfflinePatchTaskErrorInfo"
-->         }
-->     ]
--> }"
--> }
--> Converted fault:
--> (vim.fault.ExtendedFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.depots.offline.DownloadOfflinePatchTaskErrorInfo",
-->          arg = (vmodl.KeyAnyValue) [
-->             (vmodl.KeyAnyValue) {
-->                key = "1",
-->                value = "com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle"
-->             }
-->          ],
-->          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": [
-->                 "com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle"
-->             ],
-->             "default_message": "Uploading offline patches task failed while creating offline depot. Error: 'com.vmware.vcIntegrity.HostPatchInvalidBundle: vmware.vcIntegrity.HostPatchInvalidBundle'.",
-->             "id": "com.vmware.vcIntegrity.lifecycle.depots.offline.DownloadOfflinePatchTaskErrorInfo"
-->         }
-->     ]
--> }"
--> }

  • In the log snippets, it is indicative that the a certain version of bmxnet is missing in bundle

Environment

vSphere 7.x 

vSphere 8.x 

VCF 9.x 

Cause

vLCM validates the bundle's integrity by comparing the included VIBs against the metadata file within the ZIP package. If a mismatch exists between the VIBs and the metadata, the integrity check fails, and the bundle is rejected.

Resolution

One of the following solutions can be incorporated to resolve this issue 

Additional Information

To install and configure Powercli 13.3 refer the document  VMware PowerCLI User's Guide