TKGi-MC upgrade stuck in "Deploy ops-manager" step
search cancel

TKGi-MC upgrade stuck in "Deploy ops-manager" step

book

Article ID: 396866

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

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.

Cause

Likely there was a problem at vCenter level during the first boot attempt for the new OpsMan VM.

Resolution

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