Ansible Plugin - Story #5517: [EPIC] Automation Hub Release Blockers
Resource reservations are not cleaned up if worker is killed
It pulp worker is killed while executing task that has reserved resources, resources are not cleaned up.
All subsequent task that use any of the reserved resources are assigned to the same worker (which is dead).
Steps to reproduce:
1. Spawn import_collection task from pulp_ansible (T1).
2. While task is running kill worker (W1).
3. Start another worker (W2)
4. Spawn import_collection task from pulp_ansible (T2)
Task T2 is assigned on worker W2 or Cancelled if assigned on W1 before cleanup is performed.
Task T2 is assigned on worker W1 and remains in waiting state forever.
Resources are not cleaned up.
pulpcore + pulp_ansible.