Bug 2220978
Summary: | Selecting day of the week for recurring remote jobs chooses wrong day | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | John <jsweiker> | |
Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> | |
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.13.3 | CC: | ahumbe, aruzicka, lhellebr, pcreech, rlavi | |
Target Milestone: | 6.14.0 | Keywords: | Regression, Triaged, UserExperience | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | rubygem-foreman_remote_execution-10.0.5 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2242912 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-08 14:19:54 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
John
2023-07-06 19:05:21 UTC
I'm failing to reproduce this. If I now (2023-07-18, Tuesday) set the job to repeat weekly on Fridays, the job gets scheduled to be run on 2023-07-21 which is a Friday. Any extra tips for reproducing this? What version of rubygem-foreman_remote_execution do you have? And on a maybe related note, what is your locale? I am currently showing rubygem-foreman_remote_execution-8.3.0-1.el8sat.noarch Locale is EDT. I did try a variety of times to see if it was a time zone related issue. Still failing to reproduce it. Is the issue that the cron line gets generated incorrectly or that it gets generated correctly but then the times generated using it are off? If you kick off a job to run on let's say Fridays, what do you see in the recurring logic tab in the job? After completing the wizard and selecting run, on the Overview tab it says the incorrect date. I selected Friday (7/21), at 12 noon (This should account for any timezone difference). It displays "Scheduled to start at: 2023-07-22 12:00:00 -0400". When selecting the Recurring logic tab it displays: Cron line: 00 12 * * 6 Next Occurence: 2023-07-22 12:00:00 -0400 I would be happy to share screenshots or do a remote session/gmeet to help verify. I continued to duplicate this issue on my Satellite as I was writing the reply. Steps to reproduce: 1) Set your timezone to America/New_York for your browser. Setting it for your user inside Satellite seems to make no difference. Easiest way to achieve this is to start your browser like TZ=America/New_York firefox (feel free to substitute firefox for any browser you use) 2) Go to schedule a weekly recurring job Actual results: The days of week start with a Saturday, the started job is one day off Expected results: The days of week either start with a Sunday, but if they don't, it should be accounted for. Created redmine issue https://projects.theforeman.org/issues/36618 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36618 has been resolved. Verified on Satellite 6.14 sn 10 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818 |