[Users] Timezone Hypervisor/VM
Markus Stockhausen
stockhausen at collogia.de
Thu Feb 6 18:13:54 UTC 2014
Setting vm_dynamic.utc_diff to 3600 (+1) did the trick for me.
But that is no real solution. And what about daylight saving times...?
memo for myself:
Stop VM.
# su - postgres
# psql
# \c engine
# select a.vm_name,b.utc_diff,a.vm_guid from vm_static a, vm_dynamic b where a.vm_guid=b.vm_guid;
...
# update vm_dynamic set utc_diff=3600 where vm_guid='...';
# commit;
Afterwards start VM.
Markus
________________________________
Von: Bob [bob at doolittle.us.com]
Gesendet: Donnerstag, 6. Februar 2014 18:46
An: Markus Stockhausen; ovirt-users
Betreff: Re: [Users] Timezone Hypervisor/VM
I have the same issue. I have assumed it was a Windows configuration issue. I have relied on sync'ing to Internet Time upon each bootup. It would be nice to find a solution to this. My Windows VM consistently comes up exactly 5 hours off, and although NTP is configured the time is never corrected until I manually sync to Internet Time. It certainly appears to be using the wrong TZ (GMT).
-Bob
On 2/6/2014 11:39 AM, Markus Stockhausen wrote:
Hello,
all my searching/reading left me more confused. My current problem is
a Windows VM that has a wrong "timezone" - at least if I do not activate
internet time server sync.
Settings are:
- OVirt VM definition - First Run GMT+1 - thats ok
- hypervisor host: timezone CET (= GMT+1) - 18:00 - thats ok
- Windows VM: timezone CET ( = GMT+1) - 17:00 - thats wrong
I got a thread that suggested to look at vm_dynamic. There we have:
select a.vm_name,b.utc_diff from vm_static a, vm_dynamic b
engine-# where a.vm_guid=b.vm_guid;
vm_name | utc_diff
------------------+----------
Win7x64_Master | 0
But what should that tell me?
Although we work with timeservers inside the VMs we want to ensure
that even without them the VM time should match the hypervisor time.
Has anyone a simple and clear explanation how this should work.
Thanks in advance.
Markus
_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140206/3ab3e0e5/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140206/3ab3e0e5/attachment-0001.txt>
More information about the Users
mailing list