When attempting to run bosh recreate or bosh cck against a deployment, it may fail like below:
bosh task 6767
Using environment '###.###.###.###' as client 'ops_manager'
Task 6767
Task 6767 | 04:51:00 | Preparing deployment: Preparing deployment (00:00:00)
L Error: - Deployment '' doesn't exist
Task 6767 | 04:51:00 | Error: - Deployment '' doesn't exist
Task 6767 Started Tue Apr 14 04:51:00 UTC 2026
Task 6767 Finished Tue Apr 14 04:51:00 UTC 2026
Task 6767 Duration 00:00:00
Task 6767 error
Capturing task '6767' output:
Expected task '6767' to succeed but state is 'error'
Exit code 1This presents any recovery actions from being performed on the VMs within that deployment.
TPCF
This can occur for a number of reasons, including if the there was an IaaS issue at the time the VM was being updated.
This can also happen for TKGi clusters. Please see the following article for reference:
https://knowledge.broadcom.com/external/article/298560/pks-cluster-deletion-fails-with-error-de.html
Please raise a case with Broadcom Support to investigate this issue and provide the bosh task --debug output for investigation.