"An unknown error occurred while performing the operation"
YYYY-MM-DDTHH:MM:SSZ Wa(12) lifecycle[2300558]: DepotMgr:233 Couldn't extract the ImageProfile.YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:85 [DatabaseError]YYYY-MM-DDTHH:MM:SSZ Er(11)[+] lifecycle[2300558]: database disk image is malformedYYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 Traceback (most recent call last):YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 File "/usr/lib/vmware/lifecycle/bin/imagemanagerctl.py", line 367, in softwareYYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 t.ScanImage(swSpec, opts.depots,opts.taskId)YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 File "/lib64/python3.11/site-packages/vmware/esximage/Transaction.py", line 2019, in ScanImageYYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 enableQuickPatch=self._enableQuickPatch).scan()YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 File "/lib64/python3.11/site-packages/vmware/esximage/ImageManager/Scanner.py", line 3329, in scanYYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 self.task.updateNotifications([notif])YYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 File "/lib64/python3.11/site-packages/lifecycle/task.py", line 119, in updateNotificationsYYYY-MM-DDTHH:MM:SSZ Er(11) lifecycle[2300558]: imagemanagerctl:90 sqlite3.DatabaseError: database disk image is malformed
The above errors could be seen when there is an issue with the Scratch Partition configuration on the ESXi host.
Validate the Scratch Partition Configuration by running the following command on a SSH session to the ESXi host:
vim-cmd hostsvc/advopt/view ScratchConfig.
Check for any misconfigurations like:
ls -ltrh / on a SSH session to the ESXi host.