ESXi Components ESXi VM Tools are either missing or downgraded on the host. Appropriate action will be taken during remediation.Remediation of cluster failedAfter host '<ESXi hostname>' remediation completed, compliance check reported host as'non-compliant'. The image on the host does not match the image set for the cluster. Retry the clusterremediation operation.<ESXi hostname> - Failed to remediate host/var/run/log/hostd.log:<timestamp> In(166) Hostd[2098743] [Originator@6876 sub=Vmsvc.ProductLockerWatcher] Failed to list directory /usr/lib/vmware/isoimages, No such file or directory
/var/run/log/lifecycle.log:<timestamp> In(14) lifecycle[2143988] HostImage:249 Installer <class 'esximage.Installer.LockerInstaller.LockerInstaller'> was not initiated - reason: Failed to create empty Database directory: [Errno 2] No such file or directory: '/locker/packages/var'
Checking the productLocker location on an affected host and working host shows results as below:touch /locker/packages/test.txt -> failed with no such file or directory.touch /usr/lib/vmware/isoimages/test.txt -> failed with no such file or directory.
On a host where patching was successful and VMware Tools is available:
touch /locker/packages/test.txt -> succeeded.touch /usr/lib/vmware/isoimages/test.txt -> succeeded.
VMware vCenter Server 8.0.x
VMware vSphere ESXi 8.0.x
This issue happens when there are issues with the ProductLocker location which holds the Tools image repository.
To resolve the issue, reset the productLocker location. Follow resolution as per: