If a worker VM and its persistent disk have been deleted from vSphere and are no longer existing, trying to recreate it using bosh commands (recreate, cck or deploy) could result in an error.
Example error from bosh task logs:
Error: CPI error 'Bosh::Clouds::DiskNotFound' with message 'Could not find disk with id 'disk-xxxxxxxx-9999-xxxx-9999-xxxx9999xxxx'' in 'create_vm' CPI method (CPI request ID: 'cpi-999999')
VMware Tanzu Kubernetes Grid Integrated Edition
The Bosh Director is failing to find the persistent disk because it was deleted for some reason. It cannot recreate the VM because of the missing persistent disk that it knows should be attached to the VM.
Steps to recover:
bosh -d $DEPLOYMENT cckbosh -d $DEPLOYMENT manifest > $CLUSTERNAME-manifest.yamlbosh -d $DEPLOYMENT deploy $CLUSTERNAME-manifest.yaml --fix