ERROR Extract depot failed: Checksum doesn't match when the host vibs are generated from older vib-tool
search cancel

ERROR Extract depot failed: Checksum doesn't match when the host vibs are generated from older vib-tool

book

Article ID: 320096

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction




Symptoms:
  • Host seeding extract depot task fails, you see error message similar to:
ERROR Extract depot failed: Checksum doesn't match
  • In the /var/log/lifecycle.log, you see error message similar to:
020-11-11T06:54:03Z lifecycle: 1000082644: HostSeeding:499 ERROR Extract depot failed: Checksum doesn't match. Calculated 5b404e28e83b1387841bb417da93c8c796ef2497c8af0f79583fd54e789d8826, expected: 0947542e30b794c721e21fb595f1851b247711d0619c55489a6a8cae6675e796
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:366 ERROR Extract depot failed.
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:145 ERROR [VibChecksumError] ('BCM_bootbank_lsiprovider_700.00.V0.77-0004', "Checksum doesn't match. Calculated 5b404e28e83b1387841bb417da93c8c796ef2497c8af0f79583fd54e789d8826, expected: 0947542e30b794c721e21fb595f1851b247711d0619c55489a6a8cae6675e796")
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR Traceback (most recent call last):
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR File "/usr/lib/vmware/lifecycle/bin/imagemanagerctl.py", line 364, in depots
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR HostSeeding.InstalledImageInfo().extractDepot(task)
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR File "/lib64/python3.5/site-packages/vmware/esximage/ImageManager/HostSeeding.py", line 489, in extractDepot
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR vibDownloadArgs=args)
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR File "/lib64/python3.5/site-packages/vmware/esximage/Depot.py", line 836, in DepotFromImageProfile
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR extraArgs=vibDownloadArgs)
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR File "/lib64/python3.5/site-packages/vmware/esximage/Depot.py", line 780, in GenerateVib
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR vibobj.checksum.checksum))
2020-11-11T06:54:04Z lifecycle: 1000082644: imagemanagerctl:150 ERROR vmware.esximage.Errors.VibChecksumError: ('BCM_bootbank_lsiprovider_700.00.V0.77-0004', "Checksum doesn't match. Calculated 5b404e28e83b1387841bb417da93c8c796ef2497c8af0f79583fd54e789d8826, expected: 0947542e30b794c721e21fb595f1851b247711d0619c55489a6a8cae6675e796")


Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
 
 


Environment

VMware vSphere ESXi 7.0.0

Cause

Depot extraction on the target host could fail with checksum error due to the presence of vibs generated using legacy version of tools.

Resolution

To resolve this issue:
  1. Identify the vibs that were generated using legacy version of tools by running the attached script.
  2. Replace all such vibs by recreating them using the latest tools version that is supported on your host by engaging the OEM.
Requirements: There should be at least 450mb free space available under /var/lifecycle/vmware/hostSeed/ path to list all the vibs (It is only a temporary usage).

Steps to run the script:
  1. Download the attached script 83042_vibVerify.py to any location on the the target host.
  2. Run the 83042_vibVerify.py script file.

Example:

$ python 83042_vibVerify.py
CIS_bootbank_ucs-tool-esxi_1.1.5-1OEM created using old vibauthor
WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying
WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying
WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying
WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying
NVIDIA_bootbank_NVIDIA-VMware_ESXi_7.0_Host_Driver_450.89-1OEM.700.0.0.15525992 created using old vibauthor
WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying


Note

  • You will see a warning message which can be safely ignored.
    [root@localhost:/tmp] python 83042_vibVerify.py
    WARNING:root:Checksum did not match. vib may have been created using older version of tools, retrying
  • This script generates all the vibs installed on the host including the vibs created using older vib author.


Attachments

83042_vibVerify get_app