Directory /locker on host does not support the upgrade for resource, Please checkESXi Temporary Directory ExistESXi Maintenance Mode
/var/log/vmware/vcf/lcm/lcm-debug.log on the SDDC Manager contains entries similar to:YYYY-MM-DDTHH:MIN:SEC ERROR [vcf_lcm,######,precheck_id=####-###-####,resourceType=ESX,resource_id=####-###-####] [c.v.e.s.l.p.impl.esx.EsxUtils,Precheck-97] ERROR occurred fetching the available disk space for the directory: /lockerjava.lang.NumberFormatException: For input string: "Available.
Running the df /locker command directly on the affected ESXi host returns:
# df /lockerUnable to statvfs(/locker): 5Filesystem Bytes Used Available Use% Mounted on
An inaccessible or unresponsive datastore attached to the ESXi hosts prevents the Life Cycle Management (LCM) service from parsing disk space information for the /locker directory. Because the service cannot retrieve a numeric value for disk space, it encounters a NumberFormatException when it receives the string "Available" instead of the expected integer.
This issue is typically environmental and requires the removal of the unresponsive datastore.
df /lockerUnable to statvfs(/locker), an inaccessible volume is present.df -h to identify any volumes showing 0 bytes or those that do not respond to the command.df /locker on the ESXi host to ensure the Unable to statvfs(/locker): 5 error is cleared and valid partition information is returned.Note: If the issue persists, ensure SSH host keys are up to date. Refer to How to update the SSH host keys on the SDDC Manager.