Project

General

Custom queries

Profile

Actions

Bug #20107

closed

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

Added by Michael Curran almost 8 years ago. Updated almost 7 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 almost 8 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

Also available in: Atom PDF