All Update Manager Tasks are failing with "Unknown Error. Check the Events and logs for details"
search cancel

All Update Manager Tasks are failing with "Unknown Error. Check the Events and logs for details"

book

Article ID: 420755

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Running tasks in Update Manager such as Check Compliance, Stage, and Remediate are failing with "Unknown Error" immediately in vCenter

Environment

VMware vCenter Server 8.x

Cause

  • Reviewing the logging for Update Manager, it can be seen that the metadata is missing for the Updates that it is trying to perform against the host.

  • Below events can be seen in the /var/log/vmware/vmware-updatemgr/vum-server/vum-server-##.log of the vCenter logs.

YYYY-MM-DDTSS:SS:SS.#### info vmware-vum-server[09790] [Originator@6876 sub=VciScanTask.ScanTask{74}] [vciTaskBase 1496] SerializeToVimFault fault:
--> (integrity.fault.VcIntegrityFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>
-->    msg = "boost::filesystem::file_size: No such file or directory [system:2]: "/storage/updatemgr/patch-store/hostupdate/vmw/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 [system:2]: "/storage/updatemgr/patch-store/hostupdate/vmw/metadata-##.zip""
--> }

Resolution

  1. Perform Update Manager DB reset as outlined in the KB Resetting the Update Manager Database

  2. After that, allow vCenter to resync or force a resync from within the Actions options under the Lifecycle Manager section by following the below steps :-
    1. Click the Menu dropdown icon at the top of the screen and select Lifecycle Manager.

    2. Ensure to chose the correct vCenter Server system from the top dropdown if multiple vCenters are managed.

    3. Look toward the upper-right corner of the interface pane to locate the ACTIONS dropdown menu.

    4. Click ACTIONS and select Sync Updates from the list.