Red Hat Bugzilla – Bug 848862
Report event on time drift between engine and vdsm
Last modified: 2015-03-04 19:18:09 EST
Description of problem: Engine should compare its time with the reported time from VDSM. A configuration value should be added in order to set the maximum allowed time drift. If the time drift is bigger than this value, an event should be created. In addition, a config option to turn on or off the time drifting report should be added. This should be taken both at engine code and in RHEVM-Config Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
5 patches , started at http://gerrit.ovirt.org/#/c/7826/
This patch series adds time drift check per host. New configuration values were added EnableHostTimeDrift - indicates if time-drift check is ON (default false) HostTimeDriftInSec - Max allowed time drift in seconds (default 300) Each time that getVdsStsats is executed by the engine, it gets the host date in GMT and compare it with local engine date, if the difference in seconds exceeded HostTimeDriftInSec and EnableHostTimeDrift is ON, an ALERT is written to the log. The new configuration values are available for editing in engine-config and the new event named VDS_TI
From the patch description: This patch series adds time drift check per host. New configuration values were added EnableHostTimeDrift - indicates if time-drift check is ON (default false) HostTimeDriftInSec - Max allowed time drift in seconds (default 300) Each time that getVdsStsats is executed by the engine, it gets the host date in GMT and compare it with local engine date, if the difference in seconds exceeded HostTimeDriftInSec and EnableHostTimeDrift is ON, an ALERT is written to the log. The new configuration values are available for editing in engine-config and the new event named VDS_TIME_DRIFT_ALERT can be managed to get notifications on that event. To prevent event-flood, this event is issued once an hour per Host.
fixed in commit: 625e2d3, 0906a4f, f30248a, dbf3fb4, fc9a04d
ok - si21
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. http://rhn.redhat.com/errata/RHSA-2012-1506.html