[ovirt-users] VM time offset

Matthew Lagoe matthew.lagoe at subrigo.net
Mon Aug 10 14:48:03 UTC 2015


In my experience for windows guests you need to set the time on the vm to
your local time, for RHEL you need to set it to UTC.

-----Original Message-----
From: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] On Behalf Of
Groten, Ryan
Sent: Monday, August 10, 2015 07:44 AM
To: Aslam, Usman; users at ovirt.org
Subject: Re: [ovirt-users] VM time offset

I'm having the same issue where the guest time is offset by 7 hours (out
timezone difference) from UTC.  I read in the VM System configuration for
Time Zone that hwclock on Linux guests should have the TZ set to GMT+0, but
if I change it to GMT-7, the clock is set as expected on boot.

-----Original Message-----
From: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] On Behalf Of
Aslam, Usman
Sent: Friday, August 07, 2015 3:23 PM
To: users at ovirt.org
Subject: [ovirt-users] VM time offset

Hi guys,

I'm having an issue where the VMs do not keep correct time upon reboot. The
clock is always off by ~4 hours.
I've checked and time and time zone on engine/host nodes is correct. Correct
time zone is specified in the ovirt vm configuration as well.

The VM in question is a clean CentOS 7 install. It did not have NTP enabled.
I've tried setting it up with a local server and no dice. Upon reboot it
always gets messed up.

[root at xyz-dev ~]# date
Fri Aug  7 17:18:09 EDT 2015
[root at xyz-dev ~]# reboot
Connection to sso-dev closed by remote host.

[root at xyz-dev ~]# date
Fri Aug  7 13:20:47 EDT 2015
[root at xyz-dev ~]# ntpdate ntp1.xyz.domain.org
 7 Aug 17:21:05 ntpdate[2151]: step time server 130.64.25.6 offset
14410.388931 sec

Thanks,
--Usman
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





More information about the Users mailing list