[ovirt-users] Re: Host has time-drift of xxx seconds

2020-06-18 Thread Strahil Nikolov via Users
Thanks Eli for your reply.
Bug is opened: https://bugzilla.redhat.com/show_bug.cgi?id=1848353


Best Regards,
Strahil Nikolov

На 16 юни 2020 г. 0:20:45 GMT+03:00, Eli Mesika  написа:
>Hi
>
>Looking at the code I realized that the date/time retrieved from the
>host
>is cached and not refreshed again until the RHV manager engine is
>restarted
>Please open a bug on that, we should be able to notice that the problem
>was
>fixed
>
>Thanks
>Eli
>
>On Thu, Jun 11, 2020 at 6:02 AM Strahil Nikolov via Users
>
>wrote:
>
>> Hello All,
>>
>> I have a strange error that should be fixed but the event log is 
>still
>> filling with the following after the latest patching (4.3.10):
>>
>> Host ovirt2.localdomain has time-drift of 2909848 seconds while
>maximum
>> configured value is 300 seconds.
>> Host ovirt3.localdomain has time-drift of 2909848 seconds while
>maximum
>> configured value is 300 seconds.
>>
>> As  it blamed only 2  out of 3 systems,  I checked what has happened 
>on
>> ovirt1 and that one was far behind the other servers.
>>
>> Once I fixed the issue, I kept receiving those errors despite tthe
>fact
>> that I fixed the time drift on ovirt1 several days ago.
>> Currently the hosts and the engine are OK, but I got no idea how to
>'fix'
>> the issue.
>>
>> I have also noticed that the 2  errors had a  date  of 2 PM which is
>not
>> possible with my current timezone.
>>
>> Here  is a one-shot query from all nodes:
>>
>> [root@ovirt1 ~]# for i in ovirt{1..3}; do ssh $i "ntpdate -q
>> office.ipacct.com"; done
>> server 195.85.215.8, stratum 1, offset 0.001233, delay 0.03105
>> 11 Jun 05:48:16 ntpdate[5224]: adjust time server 195.85.215.8 offset
>> 0.001233 sec
>> server 195.85.215.8, stratum 1, offset -0.000200, delay 0.02821
>> 11 Jun 05:48:23 ntpdate[6637]: adjust time server 195.85.215.8 offset
>> -0.000200 sec
>> server 195.85.215.8, stratum 1, offset 0.000243, delay 0.02914
>> 11 Jun 05:48:30 ntpdate[14215]: adjust time server 195.85.215.8
>offset
>> 0.000243 sec
>> [root@ovirt1 ~]# ssh engine 'ntpdate -q office.ipacct.com'
>> root@engine's password:
>> server 195.85.215.8, stratum 1, offset 0.000291, delay 0.02888
>> 11 Jun 05:49:15 ntpdate[13911]: adjust time server 195.85.215.8
>offset
>> 0.000291 sec
>>
>> Any ideas ?
>>
>> Best Regards,
>> Strahil Nikolov
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>>
>https://lists.ovirt.org/archives/list/users@ovirt.org/message/B2IGFLACF66RX2SUWBTAX66GZTJJ4T4L/
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YFLXMGBRILSU4ER347SX7Z4EXQ6ZCMSE/


[ovirt-users] Re: Host has time-drift of xxx seconds

2020-06-15 Thread Eli Mesika
Hi

Looking at the code I realized that the date/time retrieved from the host
is cached and not refreshed again until the RHV manager engine is restarted
Please open a bug on that, we should be able to notice that the problem was
fixed

Thanks
Eli

On Thu, Jun 11, 2020 at 6:02 AM Strahil Nikolov via Users 
wrote:

> Hello All,
>
> I have a strange error that should be fixed but the event log is  still
> filling with the following after the latest patching (4.3.10):
>
> Host ovirt2.localdomain has time-drift of 2909848 seconds while maximum
> configured value is 300 seconds.
> Host ovirt3.localdomain has time-drift of 2909848 seconds while maximum
> configured value is 300 seconds.
>
> As  it blamed only 2  out of 3 systems,  I checked what has happened  on
> ovirt1 and that one was far behind the other servers.
>
> Once I fixed the issue, I kept receiving those errors despite tthe fact
> that I fixed the time drift on ovirt1 several days ago.
> Currently the hosts and the engine are OK, but I got no idea how to 'fix'
> the issue.
>
> I have also noticed that the 2  errors had a  date  of 2 PM which is not
> possible with my current timezone.
>
> Here  is a one-shot query from all nodes:
>
> [root@ovirt1 ~]# for i in ovirt{1..3}; do ssh $i "ntpdate -q
> office.ipacct.com"; done
> server 195.85.215.8, stratum 1, offset 0.001233, delay 0.03105
> 11 Jun 05:48:16 ntpdate[5224]: adjust time server 195.85.215.8 offset
> 0.001233 sec
> server 195.85.215.8, stratum 1, offset -0.000200, delay 0.02821
> 11 Jun 05:48:23 ntpdate[6637]: adjust time server 195.85.215.8 offset
> -0.000200 sec
> server 195.85.215.8, stratum 1, offset 0.000243, delay 0.02914
> 11 Jun 05:48:30 ntpdate[14215]: adjust time server 195.85.215.8 offset
> 0.000243 sec
> [root@ovirt1 ~]# ssh engine 'ntpdate -q office.ipacct.com'
> root@engine's password:
> server 195.85.215.8, stratum 1, offset 0.000291, delay 0.02888
> 11 Jun 05:49:15 ntpdate[13911]: adjust time server 195.85.215.8 offset
> 0.000291 sec
>
> Any ideas ?
>
> Best Regards,
> Strahil Nikolov
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/B2IGFLACF66RX2SUWBTAX66GZTJJ4T4L/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OALM4MOP65ZRBTAG7A7NVHJ4ERCBVTYH/


[ovirt-users] Re: Host has time-drift of xxx seconds

2020-06-10 Thread Strahil Nikolov via Users
I just found entries in the db pointing to 11 July (1  month ahead) and I 
rebooted the engine.It seems that time-drift is somehow related to all the 
issues I have observed after patching from 4.3.9  to 4.3.10:
1. ovirt1  started  to slow down - solved by stopping chrony, wiping 
/var/lib/chrony/drift and a reboot
2. HE stopped  logging in the dwh tables and spamming me with ETL service 
stopped ...
I hope I fixed it by using:
https://bugzilla.redhat.com/show_bug.cgi?id=1277591#c5

(note I have typed the link,  so it might have a typo)
3. Constantly being spammed about host has been activated - most probably that 
one is also 1  month ahead  in the DB :)

Not fixed yet.

Best Regards,
Strahil Nikolov

At least the events now show real time.

Best Regards

На 11 юни 2020 г. 6:00:52 GMT+03:00, Strahil Nikolov  
написа:
>Hello All,
>
>I have a strange error that should be fixed but the event log is  still
>filling with the following after the latest patching (4.3.10):
>
>Host ovirt2.localdomain has time-drift of 2909848 seconds while maximum
>configured value is 300 seconds.
>Host ovirt3.localdomain has time-drift of 2909848 seconds while maximum
>configured value is 300 seconds.
>
>As  it blamed only 2  out of 3 systems,  I checked what has happened 
>on ovirt1 and that one was far behind the other servers.
>
>Once I fixed the issue, I kept receiving those errors despite tthe fact
>that I fixed the time drift on ovirt1 several days ago.
>Currently the hosts and the engine are OK, but I got no idea how to
>'fix' the issue.
>
>I have also noticed that the 2  errors had a  date  of 2 PM which is
>not possible with my current timezone.
>
>Here  is a one-shot query from all nodes:
>
>[root@ovirt1 ~]# for i in ovirt{1..3}; do ssh $i "ntpdate -q
>office.ipacct.com"; done
>server 195.85.215.8, stratum 1, offset 0.001233, delay 0.03105
>11 Jun 05:48:16 ntpdate[5224]: adjust time server 195.85.215.8 offset
>0.001233 sec
>server 195.85.215.8, stratum 1, offset -0.000200, delay 0.02821
>11 Jun 05:48:23 ntpdate[6637]: adjust time server 195.85.215.8 offset
>-0.000200 sec
>server 195.85.215.8, stratum 1, offset 0.000243, delay 0.02914
>11 Jun 05:48:30 ntpdate[14215]: adjust time server 195.85.215.8 offset
>0.000243 sec
>[root@ovirt1 ~]# ssh engine 'ntpdate -q office.ipacct.com'
>root@engine's password:
>server 195.85.215.8, stratum 1, offset 0.000291, delay 0.02888
>11 Jun 05:49:15 ntpdate[13911]: adjust time server 195.85.215.8 offset
>0.000291 sec
>
>Any ideas ?
>
>Best Regards,
>Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QN7VIVOZFOTUQY3GFUWWW6CJZUQDN4ES/