Host Reports Time zone seems to be adrift

Problem:
Seeing the following on host reports for all hosts except the foreman server itself. I don’t use puppet, I use Ansible and ssh remote execution.

Time zones for all servers, including Foreman are set to EST, and all servers are syncing time off of our internal domain controller using NTP. Appears to be using GMT to calculate times for some reason. Everything everywhere is set to Browser Time or EST, both are -0500

Host times seem to be adrift!
Host reported time is 2022-01-10 14:05:19 -0500
Foreman report creation time is 2022-01-10 09:05:19 -0500
Which is an offset of about 5 hours

Expected outcome:
Times should match, there should be no warning.

Foreman and Proxy versions:
Version 3.1.0

Foreman and Proxy plugin versions:
Katello 4.3.0.rc4

Distribution and version:
CentOS 7

Hi,
most likely we already have a fix for it[1], although I have no idea when it is going to land in a relase. Maybe @evgeni would know?

[1] - Specify the timezone in timestamps by evgeni · Pull Request #1333 · theforeman/foreman-ansible-modules · GitHub

1 Like

I’ll see that we do a release soon.

1 Like