Bug #19920

foreman_tasks:cleanup leaves jobs in state "queued"

Added by Adam Ruzicka about 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Adam Ruzicka
Category:-
Target version:foreman_remote_execution 1.3.2
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1446203 Found in Releases:
Pull request:https://github.com/theforeman/foreman_remote_execution/pull/255

Description

[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):

Satellite 6.2.8

How reproducible:

always

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`

Actual results:

Jobs are still in the list, without details and in the state "queued"

Expected results:

Jobs are removed completely


Related issues

Related to Foreman Remote Execution - Bug #20025: Job invocations need to be audited Closed 06/15/2017

Associated revisions

Revision 29997f6c
Added by adamruzicka about 1 year ago

Fixes #19920 - Remove job invocations when deleting tasks (#255)

History

#1 Updated by Adam Ruzicka about 1 year ago

  • Related to Bug #20025: Job invocations need to be audited added

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/255 added

#3 Updated by Adam Ruzicka about 1 year ago

  • Target version changed from 113 to 1.14.1

#4 Updated by Ivan Necas about 1 year ago

  • Target version changed from 1.14.1 to 1.14.2

#5 Updated by Anonymous about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Ivan Necas about 1 year ago

  • Legacy Backlogs Release (now unused) set to 279

Also available in: Atom PDF