Unable to Sync vLCM Updates - Error: 'integrity.fault.HostPatchInvalidVendorCode'
After upgrading my vCenter Server to the latest vSphere 7.0 Update 1, I was unable to see ESXi 7.0 Update 1 Image. When I attempted to sync the updates I got the error “Download patch definitions task failed while syncing depots. Error: ‘integrity.fault.HostPatchInvalidVendorCode’.” Let’s take a look how we can resolve this issue and be able to sync the latest updates.
Seeing as the error mentioned the depots, navigate to Menu->Lifecycle Manager and then select the Settings tab and then Patch Setup.
Select the radio button for Partner provided Addons for ESXi and click Disable. Proceed to click on Action and then Sync Updates. The sync should now complete successfully.
There may be an issue with the repo, until then you can leave it disabled and re-enable it when the depot is working again.
Known Issue
From doing a followup search after this blog post I have found this was an issue in the past. KB78688 has a workaround and script but only applies to Dell and HPE. When i review the log it shows that my conflicting add-on is Cisco. I have opened an SR to get an updated script to work with Cisco as well. I will update this post when that happens.
Workaround
I was able to get around this by following KB2147284. I was able to reset the database, delete the downloaded updates and then restart services and then i was able to sync all the updates.
1service-control --stop vmware-updatemgr
2/usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db
3rm -rf /storage/updatemgr/patch-store/*
4service-control --start vmware-updatemgr
This did require all patches to be re-downloaded to vSphere Lifecycle Manager / Update Manager
Closing
Hopefully this helped you get the latest updates downloaded, so you can get your ESXi hosts updated to vSphere 7.0 Update 1!
Any questions or comments? Leave them below.
comments powered by DisqusSee Also
- Updating the vCenter Server Appliance (VCSA) with PowerCLI - Revisited
- Patching the vCenter Server Appliance (VCSA) using the REST API - Part 2 (PowerCLI Module)
- What's New in the 4.3.1 Pure Storage vSphere Client Plugin
- What's New in the 4.3.0 Pure Storage vSphere Client Plugin
- Configuring and Using the Pure Storage vSphere Plugin with Pure1 Authentication