Bug 1332228

Summary: End time for recurring logics is not being saved
Product: Red Hat Satellite Reporter: Adam Ruzicka <aruzicka>
Component: Remote ExecutionAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: aruzicka, bbuckingham, ehelms, jcallaha, mhulan, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14684
Whiteboard:
Fixed In Version: rubygem-foreman_remote_execution-0.3.0.6-1,rubygem-foreman-tasks-0.7.14.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:26:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
recurring logic none

Description Adam Ruzicka 2016-05-02 14:36:51 UTC

Comment 1 Adam Ruzicka 2016-05-02 14:36:53 UTC
Created from redmine issue http://projects.theforeman.org/issues/14684

Comment 2 Adam Ruzicka 2016-05-02 14:52:39 UTC
Needs cherry-pick for both foreman remote execution and foreman tasks

Commits:
foreman remote execution: ebf4a8488854d963114bcdfaeb5699a97bdcb7b8
https://github.com/theforeman/foreman_remote_execution/pull/181/commits/ebf4a8488854d963114bcdfaeb5699a97bdcb7b8

foreman-tasks: a637787a5d3963e2a16e57e905dc31f19ce07680
https://github.com/theforeman/foreman-tasks/commit/a637787a5d3963e2a16e57e905dc31f19ce07680

Comment 4 Bryan Kearney 2016-05-02 16:18:12 UTC
Upstream bug assigned to aruzicka

Comment 5 Bryan Kearney 2016-05-02 16:18:14 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14684 has been closed

Comment 6 Eric Helms 2016-05-03 15:34:38 UTC
Please ensure all related issues are added as external trackers to the BZ.

Comment 7 Marek Hulan 2016-05-05 10:10:52 UTC
There was only one issue used for both projects and is already linked. The fix was cherry-picked into 0.3-stable branch of remote execution plugin, I'd recommend taking that commit (see the link below). foreman-tasks does not have such branch AFAIK, so just copying the one from previous comment. Let me or Adam know if you need more information.

foreman-tasks: a637787a5d3963e2a16e57e905dc31f19ce07680
https://github.com/theforeman/foreman-tasks/commit/a637787a5d3963e2a16e57e905dc31f19ce07680

foreman remote execution: f9eddf96e25aa0c66299fb6e0620234102d7aa48
https://github.com/theforeman/foreman_remote_execution/pull/181/commits/f9eddf96e25aa0c66299fb6e0620234102d7aa48

Comment 8 Marek Hulan 2016-05-05 10:11:50 UTC
sorry, the second link should have been https://github.com/theforeman/foreman_remote_execution/commit/f9eddf96e25aa0c66299fb6e0620234102d7aa48

Comment 10 jcallaha 2016-06-15 20:09:07 UTC
Verified in Satellite 6.2 Beta Snap 15.2

End time is now saved. See attached screenshot.

Comment 11 jcallaha 2016-06-15 20:09:31 UTC
Created attachment 1168505 [details]
recurring logic

Comment 12 Bryan Kearney 2016-07-27 11:26:41 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/RHBA-2016:1501