[fedora-virt] Clock jumping

Orion Poplawski orion at cora.nwra.com
Fri May 7 15:38:23 UTC 2010


On 05/07/2010 08:42 AM, Richard W.M. Jones wrote:
> On Thu, May 06, 2010 at 09:52:49PM -0600, Orion Poplawski wrote:
>> I've got a F13 kvm VM running under CentOS 5.4 and I'm seeing the clock
>> suddenly jump forward by about 10 hours.  I have no idea what is up.
>> Perhaps confusion about whether the rtc clock is utc or not?  (though
>> I'm in MDT which I think is 6 hours diff).  Any ideas?
>
> Is it being run from libvirt on the host?

Yes.  libvirt-0.6.3-20.1.el5_4

> What is the qemu-kvm command line that libvirt (or you) are using?

/usr/libexec/qemu-kvm -S -M pc -m 512 -smp 1 -name zabbix -uuid 
3dc33eb8-52df-61ec-a4bd-1328b71a785f -no-kvm-pit-reinjection -monitor 
pty -pidfile /var/run/libvirt/qemu//zabbix.pid -boot c -drive 
file=/dev/vg_root/vm_zabbix,if=virtio,index=0,boot=on -net 
nic,macaddr=40:00:00:00:00:13,vlan=0 -net 
tap,fd=17,script=,vlan=0,ifname=vnet6 -serial pty -parallel none -usb 
-usbdevice tablet -vnc 127.0.0.1:3 -k en-us

> Is ntpd running inside the guest?

It was.  I recently switch to chrony to see if that made any difference, 
but apparently not.  Clock would jump and ntpd would bail.

> Any relevant kernel or log file messages in the guest?

Not really.

May  2 15:26:07 zabbix dhclient[844]: DHCPACK from 192.168.0.8
May  2 15:26:07 zabbix dhclient[844]: bound to 192.168.0.179 -- renewal 
in 7048 seconds.
May  3 00:07:12 zabbix NET[1884]: /sbin/dhclient-script : updated 
/etc/resolv.conf
May  3 00:07:12 zabbix dhclient[844]: DHCPDISCOVER on eth0 to 
255.255.255.255 port 67 interval 6

May  2 17:46:04 zabbix ntpd[2747]: Listening on routing socket on fd #22 
for interface updates
May  2 17:46:04 zabbix ntpd[2747]: 0.0.0.0 c016 06 restart
May  2 17:46:04 zabbix ntpd[2747]: 0.0.0.0 c012 02 freq_set kernel 4.533 PPM
May  2 17:46:06 zabbix ntpd[2747]: 0.0.0.0 c515 05 clock_sync
May  3 02:02:59 zabbix dhclient[844]: DHCPREQUEST on eth0 to 192.168.0.8 
port 67
May  3 02:02:59 zabbix dhclient[844]: DHCPACK from 192.168.0.8


May  6 16:15:48 zabbix avahi-daemon[2321]: Invalid query packet.
May  6 16:15:48 zabbix avahi-daemon[2321]: Invalid query packet.
May  7 02:26:39 zabbix chronyd[26290]: Can't synchronise: no selectable 
sources
May  7 02:26:40 zabbix NET[11650]: /sbin/dhclient-script : updated 
/etc/resolv.conf

I have other Fedora 12 and Centos 5.4 guests on this host that don't 
seem to have any trouble.  Just this F13 guest.



-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the virt mailing list