The host returns esxupdate error codes: -1, Check the update manager log files and esxupdate log files

Problem Description:

When you scan ESXi servers from Update Manager you receive error “esxupdate error codes: -1”
If you check update manager log you will see something like this “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]’ “. You can see exact similar entry in ESXi server logs also along with other error messages.
In your case name of VIBs could be different, it happens because exact same VIB has a different payload. If you find issue with different VIB, then please use that VIB name in all the commands I mentioned in solution section.

Solution:

First, enable SSH for ESXi host as we have to remove the VIB in question.
Run the following command first, I am trying to filter the result by specifying the name of VIB.
Command –
esxcli software vib list | grep ELX

Command Result –
elx-esx-libelxima.so 12.0.1108.0-03 ELX VMwareCertified 2018-08-23

Now to remove the VIB, use the command mentioned below.
Command –
esxcli software vib remove -n elx-esx-libelxima.so

Command Result –
Removal Result
Message: The update completed successfully, but the system needs to be reboot ed for the changes to be effective.
Reboot Required: true
VIBs Installed:
VIBs Removed: ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03
VIBs Skipped:

Restart ESXi host and then you can scan server from Update Manager.

4 Comments

  1. Thank you for psting this issue. This was great, because I had exact the sam. You saved me a lot of time.

Leave a Reply

Your email address will not be published. Required fields are marked *