Re: Clocks Not Synchronized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, March 21, 2012 at 8:30 AM, Nick Couchman wrote:
> I'm setting up ceph and looking at the output of "ceph -w" and I'm seeing lots of warnings about messages from mon.X being stamped in the future (142 seconds), clocks not synchronized. However, all of these systems use NTP, and if I use the "date" command to see the system time, they are definitely synchronized to within a second or so - definitely not out of sync 142 seconds. What else should I check?
>  

All the check for future timestamps does is get the time and compare to the one in a lease message. The only thing I can think of is if you've set the "clock offset" parameter on one machine, which seems unlikely…The other possibilities are that
1) we somehow broke how we're passing timestamps along and nobody else has seen it. This is unlikely — we haven't made any changes to this in a long time that I'm aware of.
2) one of the Monitors is running gettimeofday() and seeing that the passed-along timestamp (from gettimeofday() on the other host) is 142 seconds in the future.
So…try running date on each of them again? :) Unless people are aware of date and gettimeofday() somehow not being in sync?
-Greg

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux