Bug 1473341

Summary: Scheduling a remote job to recurring creates identical duplicate sub-tasks
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: Remote ExecutionAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Ivan Necas <inecas>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: aruzicka, bbuckingham, brcoca, cmatthew, inecas, jcallaha, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_remote_execution-1.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1478886 (view as bug list) Environment:
Last Closed: 2018-02-21 17:01:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478886, 1480362    
Attachments:
Description Flags
verification screenshot none

Description Ivan Necas 2017-07-20 14:27:08 UTC
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.

Comment 1 Ivan Necas 2017-07-20 14:27:13 UTC
Created from redmine issue http://projects.theforeman.org/issues/20107

Comment 2 Ivan Necas 2017-07-20 14:27:19 UTC
Upstream bug assigned to aruzicka

Comment 5 Satellite Program 2017-07-20 16:03:49 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20107 has been resolved.

Comment 6 Satellite Program 2017-08-03 22:04:40 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20107 has been resolved.

Comment 7 Ivan Necas 2017-08-16 13:08:34 UTC
Version Tested: Satellite-6.3 Snap 11

1. scheduled recurring job against a host
2. waited for the event to happen
3. the job runs only once against the host (see screenshot)

Comment 8 Ivan Necas 2017-08-16 13:08:57 UTC
Created attachment 1314118 [details]
verification screenshot

Comment 9 Ivan Necas 2017-08-21 10:51:57 UTC
*** Bug 1478442 has been marked as a duplicate of this bug. ***

Comment 10 Bryan Kearney 2018-02-21 17:01:18 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336