TKGi upgrade through Management Console gets stuck in step 2 "Deploy ops-manager <ops-manager-version>":
Upgrade logs show:
pks-mgmt-server[1118]: time="2025-05-07T10:10:10Z" level=error msg="Error GetInstanceByID: cannot get BOSH client: failed to make a request to ops manager: failed to make api request: failed submitting request: token could not be retrieved from target url: Post \"https://<ops-manager-fqdn>/uaa/oauth/token\": dial tcp <ops-manager-IP>:443: connect: no route to host"
On vCenter a new OpsMan VM has been provisioned but it doesn't have an IP address assigned. The old OpsMan VM is still present but in Suspended state.
Likely there was a problem at vCenter level during the first boot attempt for the new OpsMan VM.
Manual reboot of the new OpsMan VM on vCenter:
From vCenter inventory, select the VM > Actions > Power > Reset
If the above doesn't work, try to power off/power on the VM:
From vCenter inventory, select the VM > Actions > Power > Power Off > wait for the VM to power off > Actions > Power > Power On