Project

General

Profile

Bug #19920

foreman_tasks:cleanup leaves jobs in state "queued"

Added by Adam Ruzicka almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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 auditedClosed2017-06-15

Associated revisions

Revision 29997f6c (diff)
Added by adamruzicka almost 6 years ago

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

History

#1 Updated by Adam Ruzicka almost 6 years ago

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

#2 Updated by The Foreman Bot almost 6 years 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 almost 6 years ago

  • Target version changed from 113 to 1.14.1

#4 Updated by Ivan Necas almost 6 years ago

  • Target version changed from 1.14.1 to 1.14.2

#5 Updated by Anonymous almost 6 years ago

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

#6 Updated by Ivan Necas almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 279

Also available in: Atom PDF