<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Setting vm_dynamic.utc_diff to 3600 (+1) did the trick for me.<br>
But that is no real solution. And what about daylight saving times...?<br>
<br>
memo for myself:<br>
<br>
Stop VM.<br>
<br>
# su - postgres<br>
# psql<br>
# \c engine<br>
# select a.vm_name,b.utc_diff,a.vm_guid from vm_static a, vm_dynamic b where a.vm_guid=b.vm_guid;<br>
...<br>
# update vm_dynamic set utc_diff=3600 where vm_guid='...';<br>
# commit;<br>
<br>
Afterwards start VM.<br>
<br>
Markus<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF34565"><font color="#000000" face="Tahoma" size="2"><b>Von:</b> Bob [bob@doolittle.us.com]<br>
<b>Gesendet:</b> Donnerstag, 6. Februar 2014 18:46<br>
<b>An:</b> Markus Stockhausen; ovirt-users<br>
<b>Betreff:</b> Re: [Users] Timezone Hypervisor/VM<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">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).<br>
<br>
-Bob<br>
<br>
On 2/6/2014 11:39 AM, Markus Stockhausen wrote:<br>
</div>
<blockquote type="cite">
<pre>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
</pre>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>