foreman_tasks:cleanup leaves jobs in state "queued"
|Assigned To:||Adam Ruzicka|
|Target version:||Foreman - Team Ivan Iteration 17|
|Velocity based estimate||-|
|Release||foreman_remote_execution 1.3.2||Release relationship||Auto|
[reply] [−] Private Description Beat Rubischon 2017-04-27 08:41:11 EDT
Description of problem:
Jobs are not deleted completely by foreman_tasks:cleanup, the job entry stays in the list in state "queued"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run a remote execution job
2. wait 3 days
3. run `foreman-rake foreman_tasks:cleanup TASK_SEARCH="" AFTER=2d --trace`
Jobs are still in the list, without details and in the state "queued"
Jobs are removed completely
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|29997f6c57898c73db2e226fad1cb1806e5f6d1b.