Bug 1673472

Summary: the warning about skew time could last forever.
Product: Red Hat Enterprise Linux 7 Reporter: German Parente <gparente>
Component: 389-ds-baseAssignee: Ludwig <lkrispen>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 7.7CC: aadhikar, jcrumple, lkrispen, mlinden, mreynolds, nkinder, pasik, rmeggins, spichugi, tbordaz, tmihinto, vashirov
Target Milestone: rc   
Target Release: 7.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.9.1-3.el7 Doc Type: Bug Fix
Doc Text:
Cause: replication adjusts its CSN time generator to manage time differences on different servers. A special handling for large negative time skews could even increase the time skew Consequence: Once this state was reached the error log was flooded with messages about time skew, eventually the skew field could overflow. Fix: remove the special handling for larger negative time skew, the csn genarator is handling the potential oveflow of the offset counter already Result: no more confusing messages, csn generator works correctly
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:59:10 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 German Parente 2019-02-07 15:24:01 UTC
Description of problem:

after a problem with skew time for csn generators, the server tries to adjust the delta but sometimes, instead of reduce it till it will dissapear, we are incrementing it. So, the WARN can last forever.

Example:

[26/Jan/2019:15:25:33.964643906 +0300] - WARN - csngen_new_csn - Too much time skew (-492 secs). Current seqnum=4
[26/Jan/2019:15:25:33.976372625 +0300] - WARN - csngen_new_csn - Too much time skew (-493 secs). Current seqnum=1
[26/Jan/2019:15:25:33.979472136 +0300] - WARN - csngen_new_csn - Too much time skew (-494 secs). Current seqnum=1
[26/Jan/2019:15:25:34.120723671 +0300] - WARN - csngen_new_csn - Too much time skew (-494 secs). Current seqnum=1

it's each time bigger. I will never arrive to 0.


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

Comment 17 mreynolds 2019-03-22 14:10:56 UTC
https://pagure.io/389-ds-base/issue/50265

Comment 19 Akshay Adhikari 2019-05-22 06:04:05 UTC
Bild Tested: 389-ds-base-1.3.9.1-7.el7.x86_64

The warning message is hard to reproduce, changes can be seen in the source. 
Marking it as VERIFIED, SanityOnly.

Comment 21 errata-xmlrpc 2019-08-06 12:59:10 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, 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/RHBA-2019:2152