Currently, the delete lifecycle bindling deletes bosh deployments regardless of whether they have running associated bosh tasks. As a result, the delete sometimes fails with:
Task 56598 | 21:54:58 | Error: Failed to acquire lock for lock:deployment:cassandra_1d8ca879-8650-47c3-8098-9f3f89a098d0 uid: 4f49d55d-366d-4c05-85ec-7e9ada332eb7
Suggested fix:
add pseudo code bosh tasks | xargs -n 1 bosh cancel-task would avoid such symptoms
Currently, the delete lifecycle bindling deletes bosh deployments regardless of whether they have running associated bosh tasks. As a result, the delete sometimes fails with:
Suggested fix: add pseudo code
bosh tasks | xargs -n 1 bosh cancel-task
would avoid such symptomsRelevant pipeline:
https://github.com/orange-cloudfoundry/cf-ops-automation/blob/ab25536de3557fa28a3432e2a6e0e33c414c357c/concourse/pipelines/template/depls-pipeline.yml.erb#L320-L332