Updating or Patching vCenter Server Appliance fails with this error during pre-checks:
"Error in method invocation Timeout happens while sending message to microservice"
In the /var/log/vmware/applmgmt/applmgmt.log file, there are see entries similar to:
ERROR - Checksum does not match, expected [HASH], found [HASH]ERROR - Checkoum failed for file (...blob)DEBUG: vmware.appliance.update.update_functions:Exception happens while sending message to microservice: ConnectionRefusedError(111, 'Connection refused')DEBUG: vmware.appliance.update.update_functions:Exception happens while sending message to microservice: FileNotFoundError (, 'No such file or directory')
The following entries may appear in /var/log/vmware/applmgmt/applmgmt.log if the attached patch file is corrupted:
DEBUG: vmware.appliance.update.update_functions:Exception happens while sending message to microservice:FileNotFoundError (, 'No such file or directory')INFO: vmware.appliance.update.update_functions:TimeoutERROR: vmware.vapi.provider.local:Error in invoking com.vmware.appliance.update.pending in precheck sending message to microservice
This issue occurs due to a stale PID file of the update microservice or a corrupted/incomplete FP.ISO file used for the upgrade.
Workaround 1:
Clear Stale PID
/var/run/vmware/applmgmt/.ls update_microservice.pid.rm /var/run/vmware/applmgmt/update_microservice.pid.service-control --restart applmgmt.Workaround 2:
Verify Media Integrity
FP.ISO from the official Broadcom Support Portal.