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.
#4 Updated by bmbouter about 1 year ago
+1 to using the various worker names.
To do that easily in pulplift don't start the workers with systemd, start them in the foreground using the same args systemd does. Looking at the ps output will show all the options. Also the worker name would be randomized with bash in the systemd unit file itself.
Please register to edit this issue