A general system error occurred: Remediation failed for Host '####'HTTP Error 403: Forbidden" error when attempting to download the VIB/var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log on the vCenter Server, similar entries are seenYYYY-MM-DDTHH:MM:SS ERROR vmware-vum-server <PID> [vc@4413 sub="RemediateClusterTask" opID="<OP ID>"] [RemediateClusterTask, 863] Task:com.vmware.vcIntegrity.lifecycle.RemediateClusterTask ID:<Remediate task ID>. Host apply task taskId: <Task ID> failed for host: <ESX FQDN>
YYYY-MM-DDTHH:MM:SS ERROR vmware-vum-server <PID> [vc@4413 sub="RemediateClusterTask" opID="<OP ID>"] [RemediateClusterTask, 893] Task:com.vmware.vcIntegrity.lifecycle.RemediateClusterTask ID:<Remediate task ID>. Host (host-<ID>) Apply task (<Task ID>) Failed with error (Id:com.vmware.vcIntegrity.lifecycle.EsxImage.VibDownloadError) (Msg:An error occurred while downloading VIB: 'URL: 'http://<vCenter FQDN>:9084/vum/repository/hostupdate/vmw/vib20/qedrntv/QLC_bootbank_qedrntv_3.71.90.2-1OEM.800.1.0.20613240.vib' Error: '('http://<vCenter FQDN>:9084/vum/repository/hostupdate/vmw/vib20/qedrntv/QLC_bootbank_qedrntv_3.71.90.2-1OEM.800.1.0.20613240.vib', '/tmp/vibdownload/QLC_bootbank_qedrntv_3.71.90.2-1OEM.800.1.0.20613240.vib', 'HTTP Error 403: Forbidden')'')
YYYY-MM-DDTHH:MM:SS INFO vmware-vum-server 11278 [vc@4413 sub="Telemetry"] [TelemetryManager 278] Sending telemetry data: {"@type":"pman_error_report","taskId":"<Task ID>|<Remediate task ID>","entityId":"<ESX entity ID>|host-<ID>","parentTaskId":"","errorMessageId":"com.vmware.vcIntegrity.lifecycle.RemediateClusterTask.HostApplyFailed","errorMessage":"Remediation failed for Host '<ESX FQDN>'","errorTime":"<>"}VCF 9.1
The root cause of this issue stems from improper owner and group permission settings on the vCenter Server VIBs. For environments running VCF 9.1, these VIBs must be assigned to the updatemgr user and the vum-filedownload-group group.
ls -larth /storage/updatemgr/patch-store/hostupdate/vmw/vib20/qedentv/
drwxr-xr-x 175 updatemgr vum-filedownload-group 4096 May 11 18:13 ..-rw-r--r-- 1 updatemgr updatemgr 1395476 May 11 18:13 QLC_bootbank_qedentv_3.40.39.0-1OEM.700.1.0.15843807.vib-rw-r--r-- 1 updatemgr updatemgr 1391360 May 11 18:13 VMW_bootbank_qedentv_3.40.5.75-11vmw.900.0.24755229.vib
To resolve the issue, update the permission for the vibs on the vCenter server using either of the below methods
Method 1: Restart the Update Manager service on vCenter server
Method 2: Apply the permission manually to the reported VIB files
Sample:
chgrp -R vum-filedownload-group /storage/updatemgr/patch-store/hostupdate/vmw/vib20/qedentv/*
chmod -R g+rx /storage/updatemgr/patch-store/hostupdate/vmw/vib20/qedentv/*