Bug 848862
| Summary: | Report event on time drift between engine and vdsm | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yair Zaslavsky <yzaslavs> | |
| Component: | ovirt-engine | Assignee: | Eli Mesika <emesika> | |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Stehlik <pstehlik> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.1.0 | CC: | aburden, acathrow, bazulay, dyasny, iheim, lpeer, oourfali, Rhev-m-bugs, sgordon, sgrinber, thildred, yeylon, ykaul | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | 3.1.0 | Flags: | ykaul:
needinfo+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | infra | |||
| Fixed In Version: | si19 | Doc Type: | Release Note | |
| Doc Text: |
The Red Hat Enterprise Virtualization Manager is now able to automatically detect time drift on virtualization hosts. To use this functionality, set these configuration values using the rhevm-config command:
* EnableHostTimeDrift - Enables time drift detection, the default value is false.
* HostTimeDriftInSec - Sets the maximum time drift allowable, in seconds, before an alert is raised. The default value is 300.
Each time the Red Hat Enterprise Virtualization Manager checks the state of the host, it compares the system time of the two systems, expressed in GMT. If EnableHostTimeDrift is true and the manager detects that the times returned differ by more than HostTimeDriftInSec, an alert is written to the log file.
A "VDS_TIME_DRIFT_ALERT" event is also raised, which can be tracked using the event notification daemon.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 856749 (view as bug list) | Environment: | ||
| Last Closed: | 2012-12-04 19:16:30 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 856749 | |||
|
Description
Yair Zaslavsky
2012-08-16 15:47:02 UTC
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 |