Red Hat Bugzilla – Bug 1476394
[RFE] do not reap tasks from pulp if they are not completed
Last modified: 2017-08-02 01:55:18 EDT
Description of problem:
If a Satellite system left for some time with Pulp not processing tasks, it is possible for the task reaper to remove tasks that are not in finished state.
After this happens, dynflow will get a 404 when polling the task, and raise errors. It is not possible to debug the root cause of why the tasks weren't being picked up since they got deleted.
Ideally, only completed tasks would be reaped.
Version-Release number of selected component (if applicable): 6.2.10
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
The reaper task in Pulp removes records from task_status collection based on time only. This is a current behavior and it is working as expected.
The suggested behavior change (to reap completed tasks only) is reasonable and it's filed upstream as an RFE.
Changing this BZ to RFE as well.