Actions
Backport #9547
closedBackport "Failed task did not clean up properly resource reservations" to 3.7.z
Start date:
Due date:
% Done:
100%
Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 110
Quarter:
Description
In Katello, if migration to pulp 3 fails due to some issue, e.g. ran out of disk space, resources for failed tasks are not cleaned up.
Related issues
Actions
Adds additional lock cleanup to worker cleanup
As another layer of security to guard against lock cleanup not occurring due to Redis not delivering the _release_resource task, ensure all locks are also cleaned up even for tasks that are in their final states.
backports #7907
fixes #9547
(cherry picked from commit 516df3147b56660fbc9b22c215e309da1ff8080e)