Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionIoannis Aslanidis
2011-05-20 10:10:50 UTC
Description of problem:
A few days ago our monitoring system detected that all the kvm guests running in the same kvm host were desynchronized. The hosts were both 32 and 64 bit. The offset started growing and growing to some 500 seconds and beyond. That's when we detected the issue. Notice that the kvm host was correctly synchronized at all times.
The ntp daemon was correctly configured and running all the time in all the guests; however, it would not synchronize the clock after waiting for several hours. We did see that it was launching requests, but would not fix the clock.
The panic threshold was set at default levels, that is 1000 seconds, so it should not have been the problem.
Here's a sample of the alert:
nagios-05-12-2011-00.log:[1305129856] SERVICE ALERT: admin1.chg.fdcs;ntp;CRITICAL;HARD;4;NTP CRITICAL: Offset 562.3206676 secs
The processors of the kvm host are 2 AMD Opteron 6128 with the 'constant_tsc' feature. The clocksource was set to 'tsc'.
All kvm guests had 'kvm-clock' set as clocksource.
In the end, our setup matched the one prescribed in the documentation: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-KVM_guest_timing_management.html
Version-Release number of selected component (if applicable):
ntp-4.2.4p8-2.el6.i686
How reproducible:
We do not know how to reproduce the problem yet.
Steps to Reproduce:
1. Start a kvm guest with ntpd running with the default configuration (ntp server of your choice).
2. Wait an undefined amount of time.
3. The clock starts skewing.
4. The ntp daemon does not fix the skew.
Actual results:
The ntp daemon does not fix the time of the machine when it is desynchronized under unexplained circumstances.
Expected results:
The ntp daemon should always fix the time of the machine.
Additional info:
Restarting the ntp daemon with the default configuration did not fix the issue; however, enabling iburst and decreasing minpoll to 4 and maxpoll to 6, and also setting 'disable kernel', then restarting ntpd, did synchronize the clock properly.
This is most likely a kernel/kvm problem which makes the clock drift at higher rate than ntp is able to correct (500 ppm).
To confirm that, please enable the peerstats and loopstats statistics in ntp.conf, restart ntpd, let it run for few hours and attach the logs here.
Comment 3Ioannis Aslanidis
2011-05-20 13:29:13 UTC
I have enabled the logging of peerstats and loopstats as you requested. I will give you the results on Monday.
Comment 4RHEL Program Management
2011-07-06 01:35:36 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.
Comment 5RHEL Program Management
2011-10-07 15:35:51 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
We believe this bug was fixed by fixes for another, related bug. However, we do not have enough data to know that for sure. If the bug persists, please reopen this bug.