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 [b...@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@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users


****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497

****************************************************************************
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to