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.
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.
- 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.
- Target version changed from 113 to 1.14.2
- 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
- Bugzilla link set to 1473341
- Target version changed from 1.14.2 to 1.17.0-RC2
- Status changed from Ready For Testing to Closed
- Target version changed from 1.17.0-RC2 to 1.17.1
- Translation missing: en.field_release set to 285
Also available in: Atom
PDF