tkgi update-cluster compute profile failure
search cancel

tkgi update-cluster compute profile failure


Article ID: 342914


Updated On:


VMware VMware vSphere with Tanzu


Compute profile allow you to change parameter like the node_pools name as per documented in
There is some caveat how to deal with the tkgi update-cluster compute profile when it fails.


Tanzu Kubernetes Grid Integrated Edition
VMware Tanzu Kubernetes Grid Integrated Edition 1.x


The current behaviour of the compute profile feature when changing the node_pools name, rename all Bosh VM instance names at the beginning of the update task then Bosh updates each Bosh VM.


Compute profile enhancement:
TKGi 1.15.6+
TKGi 1.16.2+
TKGi 1.17.0+

In order to resume the tkgi update-cluster compute profile after the failure, you may delete the VM instance that is failing then re-trigger the same update-cluster compute profile until it completely succeeds.
bosh update-resurrection off
bosh -d service-instance_ID delete-vm VM_CID
tkgi update-cluster CLUSTER-NAME --compute-profile COMPUTE-PROFILE-NAME
bosh update-resurrection on
Once it is successfully completed, you may revert to the old compute-profile if you need.
If it keeps failing, please contact VMware Tanzu support for helping to troubleshoot the failure

Additional Information

If the command tkgi update-cluster CLUSTER-NAME --compute-profile COMPUTE-PROFILE-NAME would fail when Bosh is updating the service-instance deployment (manual Bosh cancellation or any failure), you should not try to revert straight away to the previous compute profile and use commands like bosh deploy or bosh recreate for fixing manually the service instance deployment, you should NOT run the following commands that would lead Bosh to delete all Bosh VMs in one go before recreating them:
tkgi update-cluster CLUSTER-NAME --compute-profile PREVIOUS-COMPUTE-PROFILE-NAME 
bosh -d service-instance_ID deploy service-instance-MANIFEST.yaml
bosh -d service-instance_ID recreate