After applying updates to ESXi hosts, the image profile version and installed version of ESXi may skew, and vSphere solutions, such as High Availability or Spherelet agents, may fail to deploy or update.
esxcli system version get does not match esxcli software profile getYYYY-MM-DDTHH:MM:SS Er(11) esxupdate[########]: raise Exception(NO_IMAGEPROFILE_MSG)
YYYY-MM-DDTHH:MM:SS Er(11) esxupdate[########]: Exception: Host does not have a valid image profile defined. This could be a result of a database error.
(END)localcli software profile get --rebooting-image returns the following error:Errors:
[Exception]
Host does not have a valid image profile defined. This could be a result of a database error.
Please refer to the log file for more details.ESXi 8.x / 9.x
A Corrupt "imgdb.tgz" image database file in /bootbank and /altbootbank.
This can be cause by updating the ESXi 8.x via unsupported method (e.g., using “esxcli software install vib”).
Reinstall the ESXi host or copy the "imgdb.tgz" file from the other working ESXi host.