microsoft/ga4gh-tes

Azure Batch Pools are not removed

Closed this issue · 0 comments

Describe the bug
When not deployed in Terra, Azure Batch Jobs are removed, but the corresponding pools are not.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Deploy TES using the deployer, including the smoketest.
  2. Wait a week without using the deployment.
  3. Observe that the job used to run the smoketest has disappeared, but the pool remains.
  4. Wait longer, observe that the pool is still present.

Expected behavior
The pool and the job should be deleted together.

Deployment details:
Does not affect Terra deployments.

Additional context
If a pool is deleted manually while TES is running, the job is removed by TES. However, if the job is deleted manually, the pool remains, due to this issue.