Error: com.vmware.vcIntegrity.ScanFailed due to missing metadata - vSphere Lifecycle Manager
search cancel

Error: com.vmware.vcIntegrity.ScanFailed due to missing metadata - vSphere Lifecycle Manager

book

Article ID: 392118

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

vSphere Lifecycle Manager (vLCM) fails to scan or remediate ESXi hosts. This occurs when the Update Manager patch store contains corrupted or missing metadata files. Symptoms can include:

  • The "Scan entity" or "Remediate" task fails at 0% or during the scanning phase.
  • Task console shows error: com.vmware.vcIntegrity.ScanFailed.
  • In /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log, you see:
error vmware-vum-server[####] [Originator@6876 sub=HostUpdateDepotManager] Failed to get filesize for: /storage/updatemgr/patch-store/hostupdate/<VENDOR_DIRECTORY>/metadata_####.zip
Error: boost::filesystem::file_size: No such file or directory: "/storage/updatemgr/patch-store/hostupdate/<VENDOR_DIRECTORY>/metadata_####.zip"

 

Environment

  • VMware vCenter Server Appliance 8.0.x
  • VMware vSphere ESXi 8.0.x

 

Cause

Corrupted metadata artifacts in the Update Manager repository prevent the scanner from calculating file sizes and verifying patch availability.

Resolution

To resolve this issue, you must reset the Update Manager database and purge the patch store to force a fresh synchronization. 

Resetting the Update Manager database is a destructive task. Custom baselines (but not Cluster Images), custom download settings and manually imported patches/ISOs will be removed and will need to be reapplied following the reset.

  1. Take simultaneous powered-off snapshots for the vCenter VM and any other nodes it is in Enhanced Linked Mode with.
  2. Log in to the vCenter Server Appliance via SSH.
  3. Stop the Update Manager service:
    service-control --stop vmware-updatemgr
  4. Reset the Update Manager database:
    python /usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db
  5. Remove all files from the patch store:
    rm -rf /storage/updatemgr/patch-store/*
  6. Start the Update Manager service:
    service-control --start vmware-updatemgr
  7. Log in to the vSphere Client, navigate to Lifecycle Manager > Settings > Patch Setup, and click Sync Updates.
  8. Once the sync is complete, retry the host scan.

For software downloads, see the Broadcom Support Portal. If the issue persists, contact Broadcom Support.

 

Additional Information

  • Resetting the database removes all existing baselines and tasks. You may need to recreate custom baselines after the sync.
  • Subscribe to this article to receive updates on potential fixes for metadata handling improvements: How to subscribe to an article.