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.
Description of problem:
When running "puppet agent -t" the time of the config report is correctly added as UTC to the database.
When running Ansible roles on systems the reported time is one hour behind UTC-1.
Version-Release number of selected component (if applicable):
- Satellite 6.10.1
How reproducible:
- Everytime
- On an updated Satellite 6.2 all the way to 6.10.1
- On a newly installed Satellite 6.10.1
Steps to Reproduce:
1. Run "puppet agent -t" on the Satellite
2. Note the reported time for the Puppet run with "hammer config-report list --search="host = satellite.example.com"
3. Run all assigned Ansible roles (or none) on the same Satellite
4. Note the time for the Ansible run
Actual results:
- The time for the Ansible run is one hour behind the Puppet run while it was started after the Puppet run
- The Ansible run also has a higher config_report id
Expected results:
- The times for the Ansible run should be added correctly
Additional info:
I started Puppet run at 13:26 CET (#1485399) which was correctly reported at 12:26:01 UTC.
A few minutes later I started an Ansible run (#1485400) which was reported as 11:26:47 UTC
but it is in fact UTC-1.
[root@satellite6:/etc]# hammer config-report list --search="host = satellite.example.com"
--------|-------------------------|---------------------|---------|
ID | HOST | LAST REPORT | ORIGIN |
--------|-------------------------|---------------------|---------|
1485399 | satellite.example.com | 2021/12/28 12:26:01 | Puppet |
1485395 | satellite.example.com | 2021/12/28 12:13:16 | Puppet |
1485391 | satellite.example.com | 2021/12/28 11:43:16 | Puppet |
1485400 | satellite.example.com | 2021/12/28 11:26:47 | Ansible |
1485387 | satellite.example.com | 2021/12/28 11:13:16 | Puppet |
Checking https://satellite.example.com/config_reports the times are correctly set to CET but the Ansible
run is still an hour off and reflects the hammer output in UTC.
So, Puppet config runs are always reported correctly and Ansible runs are always one hour off.
Verified in 7.0 snap 8
Config reports correctly display time in local or UTC time for Ansible reports.
Steps to Reproduce:
1. Run an Ansible role
2. Check Monitor > Config Management
3. # hammer config-report list
Expected Results:
Time is reported correctly for Ansible reports under both locations.
Actual Results:
Time is reported correctly for Ansible reports under both locations.
In step 2 hover over time to see execution time in local (EST for me).
In step 3 time was reported in 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 (Moderate: Satellite 6.11 Release), 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-2022:5498