How to re-import a VM with an invalid timezone?
by hibbsncc1701@gmail.com
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.