Actions
Bug #20107
closedScheduling a remote job to recurring creates identical duplicate sub-tasks
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
Difficulty:
Triaged:
Bugzilla link:
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.
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