Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1426568

Summary: Time zone changes in Schedule future execution & Set up recurring execution
Product: Red Hat Satellite Reporter: Pradeep Kumar Surisetty <psuriset>
Component: Remote ExecutionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.7CC: ajoseph, aruzicka, ehelms, hajek, hmore, inecas, mmccune, rajgupta, wturky
Target Milestone: 6.4.0Keywords: Reopened, Triaged, VerifiedUpstream
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: derek.mcclure@tamucc.edu Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-01 20:25:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pradeep Kumar Surisetty 2017-02-24 10:51:58 UTC
Description of problem:

Remote execution can be run 3 ways

1) Execute now 

It executes after submitting job (No time zone issues)

2) Schedule future execution 

It considers time zone from where you are running. 
In my case IST

3) Set up recurring execution 

It considers time zone where your lab where satellite running. 
in my case EST


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. try Set up recurring execution  & Schedule future execution 
 from different time zones. 
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Adam Ruzicka 2017-10-10 08:59:29 UTC
Created redmine issue http://projects.theforeman.org/issues/21263 from this bug

Comment 3 Satellite Program 2018-03-22 22:03:06 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21263 has been resolved.

Comment 4 Peter Ondrejka 2018-04-09 14:42:42 UTC
Checked on
foreman-1.18.0-0.develop.201804061848git210e295.el7.noarch
tfm-rubygem-foreman-tasks-0.13.0-1.fm1_18.el7.noarch
tfm-rubygem-foreman-tasks-core-0.2.4-1.fm1_18.el7.noarch

Recurring execution adheres to the user timezone settings

Comment 5 Peter Ondrejka 2018-05-31 09:54:03 UTC
Verified on 6.3 snap 5

Comment 6 Bryan Kearney 2018-10-16 18:53:43 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:2927

Comment 7 Rajan Gupta 2019-03-15 20:34:55 UTC
Hello,

One of our customers has reported that they are facing this issue on Satellite 6.4.2. I have reproduced the issue and it looks to be valid.

>> I created recurring job to be executed 04:15 AM IST everyday. Timezone set at my browser is IST.
~~~
Cron line	15 04 * * *
~~~

- The first job executed successfully at 04:15 AM IST. 
- The next scheduled job was showing and executed at 09:45 AM IST (04:15 UTC). See screenshot rex_task_1.png.
- And all the next tasks are scheduled to execute at 09:45 AM IST (04:15 UTC) See screnshot rex_task_2.png.

Let me know if this is regression or new a new Bugzilla this.

Regards,
Rajan

Comment 10 Bryan Kearney 2019-03-15 22:06:13 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/21263 has been resolved.