Possible errors:
7.x, 8.x
Post patch failure, the appliance state is INSTALL_FAILED
in the /etc/applmgmt/appliance/software_update_state.conf
file:
{
"state": "INSTALL_FAILED",
"version": "7.0.3.02200",
"latest_query_time": "YYYY-MM-DDTHH:MM:SSZ",
"operation_id": "/storage/core/software-update/stage_install_operation"
}
Note: Ensure a valid backup of the vCenter Server and a snapshot exists before proceeding.
Take a snapshot of the vCenter Server
SSH into the vCenter Server appliance
Create a backup copy of the /etc/applmgmt/appliance/software_update_state.conf
file and move it into a different location, e.g. in /storage/core
:# cp /etc/applmgmt/appliance/software_update_state.conf /storage/core/software_update_state.conf
Stop the VAMI service:# service-control --stop applmgmt
Remove the /etc/applmgmt/appliance/software_update_state.conf
file:# rm -i /etc/applmgmt/appliance/software_update_state.conf
Change into the /var/log/vmware/upgrade
directory:# cd /var/log/vmware/upgrade
Confirm the following files exist:prechecks-succeeded
export-succeeded
import-succeeded
If the files do not exist, run the following commands:# touch prechecks-succeeded
# touch export-succeeded
# touch import-succeeded
Confirm the files have been created:# ls -l
Start the VAMI service:# service-control --start applmgmt
Attempt the patch upgrade again.