Bug #19920

foreman_tasks:cleanup leaves jobs in state "queued"

Added by Adam Ruzicka 6 months ago. Updated 5 months ago.

Status:Closed
Priority:Normal
Assigned To:Adam Ruzicka
Category:-
Target version:Foreman - Team Ivan Iteration 17
Difficulty: Pull request:https://github.com/theforeman/foreman_remote_execution/pull/255
Bugzilla link:1446203
Story points-
Velocity based estimate-
Releaseforeman_remote_execution 1.3.2Release relationshipAuto

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 5 months ago

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

History

#1 Updated by Adam Ruzicka 6 months ago

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

#2 Updated by The Foreman Bot 6 months ago

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

#3 Updated by Adam Ruzicka 6 months ago

  • Target version changed from Team Ivan backlog to Team Ivan Iteration 16

#4 Updated by Ivan Necas 6 months ago

  • Target version changed from Team Ivan Iteration 16 to Team Ivan Iteration 17

#5 Updated by Anonymous 5 months ago

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

#6 Updated by Ivan Necas 5 months ago

  • Release set to foreman_remote_execution 1.3.2

Also available in: Atom PDF