Bug 2167786 - [BUG] Start date of sync plans created are always null in Satellite 6.13 when user time zone is set
Summary: [BUG] Start date of sync plans created are always null in Satellite 6.13 when...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Sync Plans
Version: 6.13.0
Hardware: All
OS: All
high
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-07 14:39 UTC by Sayan Das
Modified: 2023-08-03 17:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sayan Das 2023-02-07 14:39:31 UTC
Description of problem:

Newly created sync plans always have Start Date set to "null" and it's not possible the update those sync plans without mentioning the start date every time. 


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

# rpm -q satellite katello
satellite-6.13.0-4.el8sat.noarch
katello-4.7.0-1.el8sat.noarch


How reproducible:

Always 


Steps to Reproduce:

1. Install Satellite 6.13 ( snap 9 )

2. Login as "admin" user, Edit the "Admin" user of the satellite and change its timezone from "Browser Local" to "Kolkata" or "New Delhi"

3. Go to Content --> Sync PLans 

4. Create a "Sync Plan" with all necessary options selected i.e. Start Date, Weekly\daily\monthly and the time to start the sync, etc

5. Once the Sync plan is created, Check back on the "Start Date"

6. Edit the Interval of the plan and try to set it to something else and save.


Actual results:

Point 4: Start Date 'Nil'

Point 5: An error occurred saving the Sync Plan: base Start Date and Time can't be blank


Expected results:

The start Date should not be "Nil' if it was selected during sync plan creation. 


Additional info:

It's reproducible on 6.12 as well ( as long as we don't forget to perform Step 2 )

Comment 2 Sayan Das 2023-02-07 14:56:38 UTC
The only other change I had made in this Sat instance was to change the login user's TZ i.e. from Browser Local to IST ( Kolkata )

# hammer user info --login admin | grep Timezone -B1
Locale:                default
Timezone:              Kolkata


And then used that user to create the Sync plan.

Comment 3 Ilkka Tengvall 2023-03-14 18:07:07 UTC
I took Satellite cert exam today. They use 6.11 I believe, at least that's in the exam descriptions. I had troubles as this hit me during the exam. The cert test is done over remote VNC, and my locale on local laptop is Finnish. Also formats was chosen to have Finnish from the gnome settinga.


Note You need to log in before you can comment on or make changes to this bug.