[ovirt-users] Re: How to re-import a VM with an invalid timezone?

2021-08-31 Thread Patrick Hibbs
Hello,
Option 2 worked. Thanks for the support!
Thanks,Patrick
On Mon, 2021-08-30 at 19:04 +0300, Saif Abu Saleh wrote:
> Hi Patrick,
> 
> hope you are doing well
> 
> We identified the issue and it will be fixed in future version
> 
> However, there is two workarounds that you can do in order to fix the
> issue:
> 
> option 1- Change the existing VM's that is failing to default time-
> zone and try to do the process again
> 
> option 2- you can extend the time-zones list and add the time-zone
> that is missing
> in order to do that you need to follow the instructions here and then
> add this time zone line:
> America/Indianapolis=US Eastern Standard Time
> then restart the engine
> 
> 
> Thanks,
> Saif
> On Sun, Aug 29, 2021 at 9:02 PM Patrick Hibbs  > wrote:
> > Hello,
> > Unfortuately, I can't give you the exact information as oVirt
> > doesn't display that information on the VM import window. It should
> > just have been the default timezone or Eastern Standard Time (-
> > 5:00).
> > The VM is on a data storage domain that was detached from the old
> > engine installation and then reattached to the current
> > installation. As per: 
> > https://www.ovirt.org/documentation/administration_guide/index.html#Migrating_SD_between_DC_different_env
> >  
> > Hence it's not an OVA file. I can access the raw storage partition,
> > but I'm not sure how to open it to get to the actual metadata or
> > which one it even is.
> > Thanks,Patrick
> > On Sun, 2021-08-29 at 15:08 +0300, Saif Abu Saleh wrote:
> > > 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  tag
> > > 
> > > 
> > > Thanks,
> > > Saif
> > > 
> > > > From: 
> > > > Date: Fri, Aug 27, 2021 at 9:27 AM
> > > > Subject: [ovirt-users] How to re-import a VM with an invalid
> > > > timezone?
> > > > To:  
> > > > 
> > > > 
> > > > 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.ImportVmFromConfigurati
> > > > onCommand] (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_TI
> > > > MEZONE,$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-le...@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/
> > > > 
> > > > 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/HSWCOGH552RAJCYB2DA57IKGCRNBGMFL/


[ovirt-users] Re: How to re-import a VM with an invalid timezone?

2021-08-30 Thread Saif Abu Saleh
Hi Patrick,

hope you are doing well

We identified the issue and it will be fixed in future version

However, there is two workarounds that you can do in order to fix the issue:

option 1- Change the existing VM's that is failing to default time-zone and
try to do the process again

option 2- you can extend the time-zones list and add the time-zone that is
missing
in order to do that you need to follow the instructions here
<https://github.com/oVirt/ovirt-engine/blob/master/packaging/conf/timezones-defaults.properties#L18-L22>
and
then add this time zone line:
America/Indianapolis=US Eastern Standard Time
then restart the engine


Thanks,
Saif

On Sun, Aug 29, 2021 at 9:02 PM Patrick Hibbs 
wrote:

> Hello,
>
> Unfortuately, I can't give you the exact information as oVirt doesn't
> display that information on the VM import window. It should just have been
> the default timezone or Eastern Standard Time (-5:00).
>
> The VM is on a data storage domain that was detached from the old engine
> installation and then reattached to the current installation. As per:
> https://www.ovirt.org/documentation/administration_guide/index.html#Migrating_SD_between_DC_different_env
>
>
> Hence it's not an OVA file. I can access the raw storage partition, but
> I'm not sure how to open it to get to the actual metadata or which one it
> even is.
>
> Thanks,
> Patrick
>
> On Sun, 2021-08-29 at 15:08 +0300, Saif Abu Saleh wrote:
>
> 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  tag
>
>
> Thanks,
> Saif
>
> From: 
> Date: Fri, Aug 27, 2021 at 9:27 AM
> Subject: [ovirt-users] How to re-import a VM with an invalid timezone?
> To: 
>
>
> 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-le...@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/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/D56CCJMELXFQOBA6FN5RMUMCHGEVVESP/


[ovirt-users] Re: How to re-import a VM with an invalid timezone?

2021-08-30 Thread Saif Abu Saleh
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  tag


Thanks,
Saif

From: 
> Date: Fri, Aug 27, 2021 at 9:27 AM
> Subject: [ovirt-users] How to re-import a VM with an invalid timezone?
> To: 
>
>
> 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-le...@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/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/H2NKE34L3UYR2ITD7STSTYSXR6JJVMJ7/


[ovirt-users] Re: How to re-import a VM with an invalid timezone?

2021-08-30 Thread Patrick Hibbs
Hello,
Unfortuately, I can't give you the exact information as oVirt doesn't
display that information on the VM import window. It should just have
been the default timezone or Eastern Standard Time (-5:00).
The VM is on a data storage domain that was detached from the old
engine installation and then reattached to the current installation. As
per: 
https://www.ovirt.org/documentation/administration_guide/index.html#Migrating_SD_between_DC_different_env
 
Hence it's not an OVA file. I can access the raw storage partition, but
I'm not sure how to open it to get to the actual metadata or which one
it even is.
Thanks,Patrick
On Sun, 2021-08-29 at 15:08 +0300, Saif Abu Saleh wrote:
> 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  tag
> 
> 
> Thanks,
> Saif
> 
> > From: 
> > Date: Fri, Aug 27, 2021 at 9:27 AM
> > Subject: [ovirt-users] How to re-import a VM with an invalid
> > timezone?
> > To:  
> > 
> > 
> > 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.ImportVmFromConfigurationCo
> > mmand] (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_TIMEZO
> > NE,$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-le...@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/
> > 
> > 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/BH4L64GJT52C6B2H7H55YFAK27MX5N5C/