Hi,

Can you please provide what time-zone the VM you are trying to Import has? 

if you are trying to import from the OVA you can get the time-zone by going to the host location where the exported OVA exists,
open it and check what is the value of the <TimeZone> tag


Thanks,
Saif

From: <hibbsncc1701@gmail.com>
Date: Fri, Aug 27, 2021 at 9:27 AM
Subject: [ovirt-users] How to re-import a VM with an invalid timezone?
To: <users@ovirt.org>


I've just finished my upgrade to oVirt 4.4.8.4, but I've got one previously working VM that I cannot reimport. (I did a fresh install instead of restoring an engine backup.) It's a Windows VM, and every attempt I make to import it causes the following error:

    Cannot import VM. Invalid time zone for given OS type.
    Attribute: vm.vmStatic

The interface doesn't give me the option to change the timezone before import. The most that I can get from the logs on either the engine host or SPM host is this:

2021-08-26 17:38:30,793-04 WARN  [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand] (default task-35) [96d9f0ea-99be-477a-b1d1-3781ffbac041] Validation of action 'ImportVmFromConfiguration' failed for user admin@internal-authz. Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_INVALID_TIMEZONE,$groups [Ljava.lang.Class;@b263017,$message ACTION_TYPE_FAILED_INVALID_TIMEZONE,$payload [Ljava.lang.Class;@3b789cbf,ACTION_TYPE_FAILED_ATTRIBUTE_PATH,$path vm.vmStatic,$validatedValue org.ovirt.engine.core.common.businessentities.VmStatic@9f994c52

Does anyone know how to get a VM imported in this case?

Thanks.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/J4L5M3PDZRBFCNT7HINQGSXICPTTFH32/