This article is to identify and resolve "
have unequal values of the 'payloads' attribute" error.
Symptoms:
- While performing an Update Manager compliance check, the scan returns the error:
esxupdate error codes: -1. Check the Update Manager log files and esxupdate log files for more details.
- In the /var/run/log/esxupdate.log, you see entries similar to:
ERROR: ValueError: VIBs ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03 and ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03 have unequal values of the 'payloads' attribute: '[elx-esx-libelxi: 1602.936 KB]' != '[elx-esx-libelxi: 1493.833 KB]'
- Image Builder is unable to build an ISO out of the software depot because it sees two sizes of the VIBs and are unable to merge. You will see similar entries in vmon-redirect.log.stderr as mentioned below:
vmon-redirect.log.stderr:
INFO:DepotCollection:Error parsing metadata.zip from https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vmw-ESXi-6.7.0-metadata.zip: Cannot merge VIBs ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03, ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03 with unequal payloads attributes: ([elx-esx-libelxi: 1493.833 KB], [elx-esx-libelxi: 1602.936 KB])
Exception in thread Connect-task-11784841:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/vmodl_impl/DepotManager.py", line 288, in _connectToDepot
if errors:
UnboundLocalError: local variable 'errors' referenced before assignment