Error: "VibPayloadDigestError" or "Failed to extract image from host" during baseline to vLCM image conversion - VMware vSphere ESXi
search cancel

Error: "VibPayloadDigestError" or "Failed to extract image from host" during baseline to vLCM image conversion - VMware vSphere ESXi

book

Article ID: 438080

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi VMware NSX

Issue/Introduction

Converting a VMware vSphere ESXi cluster from baselines to vSphere Lifecycle Manager (vLCM) images triggers the following symptoms:

  • The "Extracting image from host" task fails and logs the following errors:

    com.vmware.vcIntegrity.lifecycle.ExtractDepotTask.HostExtractDepotFailed
    com.vmware.vcIntegrity.lifecycle.EsxImage.UnknownError.

  • The NSX Local Control Plane (LCP) bundle is missing or displays as "None" in the vLCM Image draft.

  • The vSphere Client displays the error: A general system error occurred: Failed to extract image from the host: no stored copy available for inactive VIB [VIB_NAME].

  • Specifically, the /var/run/log/lifecycle.log file on the affected VMware vSphere ESXi host contains checksum mismatch errors similar to the following:

    Er (11) lifecycle [15843264]: HostSeeding:1084 Extract depot failed: ('VMware_locker_tools-light_13.0.5-0.24916190', 'tools', 'Calculated digest at EOF does not match expected result: 05d2b2e4#########################ca... calculated, 4fd37e93########################################################dc4 expected.')
    Er (11) lifecycle [15843264]: imagemanagerctl:200 Extract depot failed.
    Er (11) lifecycle [15843264]: imagemanagerctl:85 [VibPayloadDigestError]
    ...
    ...
    ...
    Er (11) lifecycle [15 15843264]: imagemanagerctl:90 vmware.esximage.Errors. VibPayloadDigestError: ('VMware locker tools-light 13.0.5-0.24916190', 'tools', 'Calculated digest at EOF does not match expected result: 05d2b2e4#############################3106 calculated, 4fd37e93########################################################dc4 expected.')

Environment

  • VMware vCenter Server 8.0

  • VMware vSphere ESXi 8.0

Cause

This is caused by a checksum mismatch between the VIBs residing in the ESXi host's locker partition and the metadata expected by the vCenter Server. During extraction, vLCM identifies that the local VMware_locker_tools-light VIB has a different digest hash than expected, which forces a termination of the image creation task.

Resolution

To resolve this issue, manually reinstall the corrupted VIB on the affected host via the command-line interface (CLI). This corrects the underlying checksum mismatch so the standard extraction workflow succeeds. In this example, the error log flags VMware Tools VIB i.e., VMware_locker_tools-light 13.0.5-0.24916190.

  1. Download the ESXi Offline Bundle (.zip) from the Broadcom Support Portal that corresponds exactly to the VMware ESXi version/build currently installed on the ESXi host.

  2. Upload this .zip file to a datastore accessible by the affected ESXi host.

  3. Establish an SSH connection to the ESXi host and place the host into maintenance mode:

    esxcli system maintenanceMode set --enable true

  4. Execute the following command to uninstall the specific VIB:

    esxcli software vib remove --vibname=tools-light

  5. Reinstall the specific VIB (replace <datastore> and <bundle_name.zip> with your actual values):

    esxcli software vib install -n tools-light -d /vmfs/volumes/<datastore>/<bundle_name.zip>

  1. Exit maintenance mode on the host once the VIB installation completes successfully.

  2. Return to the vCenter Server and retry the Baseline to vLCM extraction. The checksum will now match, and the extraction will succeed.