The Sync updates task in vLCM fails with the below error:
A general system error occurred: Download patch definitions task failed while syncing depots. Error: integrity.fault.MetadataDownloadFailure: Cannot download patch definitions'
Manually uploading zip bundle to Import Updates also fails with the below error, though the UI shows 100% upload complete:A general system error occurred: Uploading offline patches task failed while creating offline depot. Error: 'integrity.fault.FileUploadInvalidPackage: Cannot upload file, because it is an invalid package. \ndownloading metadata for file vendor-index.xml: Failed to create metadata file. Error: No such file or directory'.
YYYY-MM-DDThh:mm:ss.291Z info vmware-vum-server[08887] [Originator@6876 sub=Libs] FILE: Failed to create temporary file; dir "/storage/updatemgr/patch-store/hostupdate/vmw", objName "metadata-169.zip", errno 2YYYY-MM-DDThh:mm:ss.291Z error vmware-vum-server[08887] [Originator@6876 sub=Default] [updateDownloaderImpl 650] Failed to create metadata file. Error: No such file or directoryYYYY-MM-DDThh:mm:ss.291Z error vmware-vum-server[08887] [Originator@6876sub=DownloadOfflinePatchTask.DownloadOfflinePatchTask{7}] [downloadOfflinePatchTask 202] Error parsing metadata files: \ndownloading metadata for file vendor-index.xml: Failed to create metadata file. Error: No such file or directoryhostupdate directory is missing from /storage/updatemgr/patch-store in the vCenter.cd /storage/updatemgr/patch-store mkdir hostupdatemkdir eula_fileschown updatemgr:updatemgr hostupdatechown updatemgr:updatemgr eula_filesservice-control --restart updatemgr