[Users] any way to change VM timezone during import?

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Jun 7 14:05:14 UTC 2013


> On 06/07/2013 10:22 AM, Yuriy Demchenko wrote:
>>
>> Hi,
>>
>> I need to import a bunch of VM's (about 50) from kvm to ovirt, will be
>> using virt-v2v and rest api for bulk import.
>> However, after import new VM's gets GMT-12 timezone and no way to change
>> it - and that's bothering me, as fsck inside VMs keeps complaining at
>> timestamps in future each time vm gets shutdown/startup, selinux
>> relabelling occurs, etc.
>> I've read about bug with default timezone
>> (https://bugzilla.redhat.com/show_bug.cgi?id=873795), but I don't have
>> time to wait for 3.3.0 to release...
>> Is there any api calls or any other way to set timezone for VM during
>> import?

Based on what I did for my Winxp vm with same problem
http://lists.ovirt.org/pipermail/users/2013-May/014307.html

perhaps you can set a post import job to connect to the db and change
the utc_diff value in vm_dynamic table to the requested value for your
VMs

HIH,
Gianluca



More information about the Users mailing list