Trying to perform the stage of patches on ESXi hosts (Stage patches to entity), fails with the following error:
"Cannot download VIB: ''. This might be because of network issues or the specified VIB does NOT exist or does NOT have a proper 'read' privilege set. Please make sure the specified VIB exists and is accessible from vCenter Server."
Note that the VIB name doesn't appear.
Logs indicate the following:
/var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log[timestamp] error vmware-vum-server[19414] [Originator@6876 sub=HostUpdateDepotManager] [logImpl 71] Failed to get filesize for: /storage/updatemgr/patch-store/hostupdate/CIS/###-####-#.#-#####-cumulative_metadata.zip, please check if the file exists and accessible. Error: boost::filesystem::file_size: No such file or directory: "/storage/updatemgr/patch-store/hostupdate/CIS/###-####-#.#-#####-cumulative_metadata.zip"[timestamp] error vmware-vum-server[19414] [Originator@6876 sub=SingleHostScanTask.SingleHostScanTask{37}] [vciTaskBase 618] Task execution has failed: boost::filesystem::file_size: No such file or directory: "/storage/updatemgr/patch-store/hostupdate/CIS/###-####-#.#-#####-cumulative_metadata.zip"...[timestamp] info vmware-vum-server[19414] [Originator@6876 sub=VciStageTask.StageTask{33}] [vciTaskBase 1372] SerializeToVimFault fault:--> (integrity.fault.VcIntegrityFault) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>--> msg = "boost::filesystem::file_size: No such file or directory: "/storage/updatemgr/patch-store/hostupdate/CIS/###-####-#.#-#####-cumulative_metadata.zip""--> }--> Converted fault:--> (vim.fault.ExtendedFault) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> faultTypeId = "com.vmware.vcIntegrity.VcIntegrityFault",--> data = (vim.KeyValue) [--> (vim.KeyValue) {--> key = "faultCause",--> value = ""--> },--> (vim.KeyValue) {--> key = "faultMessage",--> value = ""--> }--> ]--> msg = "boost::filesystem::file_size: No such file or directory: "/storage/updatemgr/patch-store/hostupdate/CIS/###-####-#.#-#####-cumulative_metadata.zip""--> }
vCenter Server Appliance 8.0.x
Directory structure for the Lifecycle Manager repository is missing files.
For instance, the directory /storage/updatemgr/patch-store/hostupdate or the VIB required as per the logs above doesn't not exist.
Rebuild the repository structure by performing the reset of the Update Manager database as per the KB Resetting the VMware Update Manager Database.