When upgrading or patching a vCenter Server Appliance to version 8.x, the patch installation encounters a fatal error during the execution of component post-install hooks, resulting in a failure at 80% completion.
The /var/log/vmware/applmgmt/PatchRunner.log file logs a failing execution sequence specifically targeting the trustmanagement:Patch script execution:
YYYY-MM-DDTHH:MM:SS Z trustmanagement:Patch INFO patch_03 Fetching service Info for the Trustmanagement from Lookup Service
YYYY-MM-DDTHH:MM:SS Z trustmanagement:Patch INFO patch_03 Adding Endpoint and Syncable property to Trustmanagement
YYYY-MM-DDTHH:MM:SS Z trustmanagement:Patch INFO patch_03 Adding Subscribable property to Trustmanagement
YYYY-MM-DDTHH:MM:SS Ztrustmanagement:Patch INFO patch_03 Endpoint Url for gRPC endpoint: https://vcenter-fqdn:4000
YYYY-MM-DDTHH:MM:SS Z trustmanagement:Patch ERROR patch_03 Failed to reregister TrustManagement with Lookup Service
YYYY-MM-DDTHH:MM:SS Z trustmanagement:Patch ERROR vmware_b2b.patching.executor.hook_executor Patch hook 'trustmanagement:Patch' failed.
Traceback (most recent call last):
File "/storage/updatemgr/software-update5cn9u4lu/stage/scripts/patches/py/vmware_b2b/patching/executor/hook_executor.py", line 74, in executeHook
executionResult = systemExtension(args)
...
File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1607, in InvokeMethod
raise obj # pylint: disable-msg=E0702
pyVmomi.VmomiSupport.vmodl.fault.InvalidArgument: (vmodl.fault.InvalidArgument) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = '',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
invalidProperty = 'Invalid certificate'
}
VMware vCenter Server 8.x
During execution of the component patch, the installer attempts to update and re-register the endpoints of the internal TrustManagement service to establish communication paths over port 4000 via the Lookup Service.
The registration task is explicitly rejected by the Lookup Service with a vmodl.fault.InvalidArgument fault referencing invalidProperty = 'Invalid certificate'. This behavior occurs because old, duplicate, or mismatched SSL trust anchors present within the Lookup Service in the SSO domain.
Before any changes are made please take offline snapshots of the vCenter and all other vCenters that are in ELM in the SSO domain.
python lsdoctor.py -lpython lsdoctor.py -t
service-control --stop --all && service-control --start --all