Project

General

Profile

Actions

Bug #20107

closed

Scheduling a remote job to recurring creates identical duplicate sub-tasks

Added by Michael Curran over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Fixed in Releases:
Found in Releases:

Description

When scheduling a remote job, and selecting the template. If you select "Set up recurring execution" , the provided job tasks when run, show duplicate tasks. However if you set the task to immediate and let it run, the resulting sub task shows only the necessary entries for the task.

Actions #1

Updated by Adam Ruzicka over 7 years ago

  • Project changed from foreman-tasks to Foreman Remote Execution
  • Category set to Foreman
  • Target version set to 113

Additional notes:
Apparently Targeting#resolve_hosts! gets called twice when using delayed and/or recurring execution with static targeting, leading to duplicate hosts and RunHostJob sub-tasks. Using dynamic targeting doesn't seem to trigger the bug.

Actions #2

Updated by Ivan Necas over 7 years ago

  • Target version changed from 113 to 1.14.2
Actions #3

Updated by The Foreman Bot over 7 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/262 added
Actions #4

Updated by Ivan Necas over 7 years ago

  • Bugzilla link set to 1473341
Actions #5

Updated by Ivan Necas over 7 years ago

  • Target version changed from 1.14.2 to 1.17.0-RC2
Actions #6

Updated by Ivan Necas over 7 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Ivan Necas over 7 years ago

  • Target version changed from 1.17.0-RC2 to 1.17.1
  • Translation missing: en.field_release set to 285
Actions

Also available in: Atom PDF