VCENTER UPGRADE PREPARATION" stage./var/log/vmware/applmgmt/PatchRunner.log on the source vCenter reveals the following error:YYYY-MM-DDTHH:MM:SS.642Z vsphere_ui:Expand ERROR root ('Service account password file is present for %s but the service account is not present.This is not a valid scenario and cannot be corrected as part of expand hook, investigate the client code further to find the root cause and fix it.', 'vsphere-ui')YYYY-MM-DDTHH:MM:SS.642Z vsphere_ui:Expand ERROR vsphere_ui Failed to expand patch patch_12 with version 12.0. Exception: ('Service account password file is present for %s but the service account is not present.This is not a valid scenario and cannot be corrected as part of expand hook, investigate the client code further to find the root cause and fix it.', 'vsphere-ui')svcaccount_prestart_util.SvcAcctSetupException: ('Service account password file is present for %s but the service account is not present.This is not a valid scenario and cannot be corrected as part of expand hook, investigate the client code further to find the root cause and fix it.', 'vsphere-ui')YYYY-MM-DDTHH:MM:SS.644Z vsphere_ui:Expand ERROR vmware_b2b.patching.executor.hook_executor Patch hook 'vsphere_ui:Expand' failed.Traceback (most recent call last): File "/storage/lifecycle/vlcm/current/stageDir3711702838/scripts/patches/py/vmware_b2b/patching/executor/hook_executor.py", line 74, in executeHook executionResult = systemExtThe vsphere-ui service account is missing from the vCenter configuration. This typically occurs when Enhanced Linked Mode (ELM) deactivates or breaks before the vCenter upgrade to 9.x completes. Per Broadcom documentation, vCenters must be on version 9.x before deactivating ELM. Refer to the "Deactivate Enhanced Link Mode (ELM) Using the SDDC Manager API".
Recreate the missing vsphere-ui service account on each affected vCenter by following the steps below.
root.machine ID by running the following command:/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost<machine_id> for use in step 4./usr/lib/vmware-vmafd/bin/dir-cli svcaccount listmachine ID obtained in step 2./usr/lib/vmware-vmafd/bin/dir-cli svcaccount create --name vsphere-ui-#### (Replace #### with the machine ID from step 2)
service-control --restart vsphere-ui