After performing a live migration of a VM you may encounter issues with the clock of the migrated VM. The time drifts fairly fast in the future or the past and ntpd
doesn't seem to be able sync the time.
A bit of testing showed that the problem disappeared when we replaced openntpd
with chrony
. So it seems to be a openntpd
issue probably.
To fix the issue on Ubuntu:
-
sudo apt-get purge openntpd
-
sudo rm /var/lib/openntpd/db/ntpd.drift
-
reinstall
openntpd
and deploy the config again. In the makandra setup this is done bypuppet
.