[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-23 Thread Arik Hadas
On Wed, Jun 23, 2021 at 8:27 AM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> I opened : https://bugzilla.redhat.com/show_bug.cgi?id=1975076
>

Thanks for filing it.
If you wish to transfer VMs from oVirt 4.4 to oVirt 4.3, you have to make
sure that the cluster you use in oVirt 4.4 is set with compatibility level
which is supported in oVirt 4.3 (that is, compatibility level 4.2 or 4.3),
as forward-compatibility is not supported.


>
>
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
>
> On Tue, Jun 22, 2021 at 12:26 PM Strahil Nikolov 
> wrote:
>
>> Error during ValidateFailure.: java.lang.IllegalArgumentExcepti
>> on: VM64BitMaxMemorySizeInMB has no value for version: 4.6
>>
>>
>> This one is quite interesting... Most probably is a bug.
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> On Tue, Jun 22, 2021 at 0:59, Guillaume Pavese
>>  wrote:
>> ___
>> 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/XXFQFMUD76O53PSA3XZHSXTMHHPBOEE3/
>>
>>
> Ce message et toutes les pièces jointes (ci-après le “message”) sont
> établis à l’intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur, merci de le détruire et d’en avertir
> immédiatement l’expéditeur. Toute utilisation de ce message non conforme a
> sa destination, toute diffusion ou toute publication, totale ou partielle,
> est interdite, sauf autorisation expresse. L’internet ne permettant pas
> d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales)
> décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse
> ou il aurait été modifié. IT, ES, UK.
> 
> ___
> 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/2UNL6ASMOTFMT5NIIIR2GGC25KMPIT3J/
>
___
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/DRL7EK3XS2ZZGMS3UDTLHLBWASIFRBK3/


[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-22 Thread Guillaume Pavese
I opened : https://bugzilla.redhat.com/show_bug.cgi?id=1975076


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Tue, Jun 22, 2021 at 12:26 PM Strahil Nikolov 
wrote:

> Error during ValidateFailure.: java.lang.IllegalArgumentExcepti
> on: VM64BitMaxMemorySizeInMB has no value for version: 4.6
>
>
> This one is quite interesting... Most probably is a bug.
>
> Best Regards,
> Strahil Nikolov
>
> On Tue, Jun 22, 2021 at 0:59, Guillaume Pavese
>  wrote:
> ___
> 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/XXFQFMUD76O53PSA3XZHSXTMHHPBOEE3/
>
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
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/2UNL6ASMOTFMT5NIIIR2GGC25KMPIT3J/


[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-21 Thread Strahil Nikolov via Users
Error during ValidateFailure.: java.lang.IllegalArgumentExcepti
on: VM64BitMaxMemorySizeInMB has no value for version: 4.6

This one is quite interesting... Most probably is a bug.
Best Regards,Strahil Nikolov
 
 
  On Tue, Jun 22, 2021 at 0:59, Guillaume 
Pavese wrote:   
___
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/XXFQFMUD76O53PSA3XZHSXTMHHPBOEE3/
  
___
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/CKLFGSW3ZQMIZUOB4BE33ZH6BNAXHJ3U/


[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-21 Thread Guillaume Pavese
OVA imports, template or vm, silently fail like with Export Domain imports.
Could it be because of the Cluster compatibility version set to 4.6 on both
VM & template I am trying to import?
On the origin oVirt 4.4.6 DC, before exporting them, I tried to see if I
could set them to a lower compatibility version but only 4.6is available

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Tue, Jun 15, 2021 at 8:11 PM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> On ovirt 4.4.6, I created a VM and made a template from it.
> I would like to copy them to oVirt 4.3.7 & 4.3.10 DCs
>
> - I saw that Export Domain is deprecated. I tried exporting the VM &
> template to an Export Domain anyway but,
> after attaching the Export DOmain on my ovirt 4.3.7 DC, both VM and
> Template imports failed.
> The Template import failed immediately without any errors visible in the
> UI,
> The VM import failed with the message "General command validation
> failure."
>
> - I tried to do it through a Data Domains as recommended, but:
> If created on oVirt 4.4.6, I get a Format V5 DataDomain that my oVirt
> 4.3.7 refuses to import.
> If created first on the oVirt 4.3 DC, I get a Format V4 Domain. But then
> importing it on the oVirt 4.4 DC, I get the message: "Approving this
> operation will upgrade the Storage Domain format from 'V4' to 'V5'. Note
> that you will not be able to attach it back to an older Data Center."
>
> In "Administration > Providers" everything seems supported, from XEN / KVM
> and even VMware (we have used all three with some success).
> However oVirt is the obvious missing option...
>
> I still have to try "Export as OVA",
> is that the only supported way?
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
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/XXFQFMUD76O53PSA3XZHSXTMHHPBOEE3/


[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-21 Thread Guillaume Pavese
As noted, the import through Export Domain fails with "General command
validation failure."

In engine.log, I see :
2021-06-16 12:37:48,736+02 ERROR
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (default
task-1939) [c865f249-d658-4e67-9813-bedd06e5d4d3] Error during
ValidateFailure.: java.lang.IllegalArgumentExcepti
on: VM64BitMaxMemorySizeInMB has no value for version: 4.6

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Jun 16, 2021 at 4:54 PM Guillaume Pavese <
guillaume.pav...@interactiv-group.com> wrote:

> OVA imports, template or vm, silently fail like with Export Domain imports.
> Could it be because of the Cluster compatibility version set to 4.6 on
> both VM & template I am trying to import?
> On the origin oVirt 4.4.6 DC, before exporting them, I tried to see if I
> could set them to a lower compatibility version but only 4.6is available
>
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
>
>
> On Tue, Jun 15, 2021 at 8:11 PM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> On ovirt 4.4.6, I created a VM and made a template from it.
>> I would like to copy them to oVirt 4.3.7 & 4.3.10 DCs
>>
>> - I saw that Export Domain is deprecated. I tried exporting the VM &
>> template to an Export Domain anyway but,
>> after attaching the Export DOmain on my ovirt 4.3.7 DC, both VM and
>> Template imports failed.
>> The Template import failed immediately without any errors visible in the
>> UI,
>> The VM import failed with the message "General command validation
>> failure."
>>
>> - I tried to do it through a Data Domains as recommended, but:
>> If created on oVirt 4.4.6, I get a Format V5 DataDomain that my oVirt
>> 4.3.7 refuses to import.
>> If created first on the oVirt 4.3 DC, I get a Format V4 Domain. But then
>> importing it on the oVirt 4.4 DC, I get the message: "Approving this
>> operation will upgrade the Storage Domain format from 'V4' to 'V5'. Note
>> that you will not be able to attach it back to an older Data Center."
>>
>> In "Administration > Providers" everything seems supported, from XEN /
>> KVM and even VMware (we have used all three with some success).
>> However oVirt is the obvious missing option...
>>
>> I still have to try "Export as OVA",
>> is that the only supported way?
>>
>> Guillaume Pavese
>> Ingénieur Système et Réseau
>> Interactiv-Group
>>
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
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/33VHMNQY236ZRQHGNTGN5CLLJIKS3R3Y/


[ovirt-users] Re: Problems moving vm & templates between oVirt 4.3 & 4.4

2021-06-21 Thread Guillaume Pavese
I think I have now tried everything.
I saw that ova imports were failing with java.lang.NullPointerException in
engine.log.
It seemed to be a bug corrected in 4.3.9 as per release note :
https://bugzilla.redhat.com/show_bug.cgi?id=1789737
I upgraded ovirt-manager to 4.3.10 and used a hosts on ovirt-node 4.3.10 to
retry ova template import but it is still failing with :

2021-06-16 16:05:58,336+02 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default
task-7) [7d957966-65f5-4a81-b1a1-f3a7e41c9db8] START, GetVmsInfoVDSCommand(
GetVmsInfoVDSCommandParameters:{storagePoolId='d9118020-3ce3-11e9-989d-00163e79db10',
ignoreFailoverLimit='false',
storageDomainId='b0f2bae9-1602-45a4-b527-8020e1a24a43', vmIdList='null'}),
log id: 76eed3f5
2021-06-16 16:05:58,351+02 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default
task-7) [7d957966-65f5-4a81-b1a1-f3a7e41c9db8] FINISH,
GetVmsInfoVDSCommand, log id: 76eed3f5
2021-06-16 16:06:05,248+02 INFO
 [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default
task-7) [bf07d4fe-7fd1-4787-a84b-8de59ecdd758] Executing Ansible command:
ANSIBLE_STDOUT_CALLBACK=ovaqueryplugin /usr/bin/ansible-playbook
--ssh-common-args=-F /var/lib/ovirt-engine/.ssh/config
--private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
--inventory=/tmp/ansible-inventory2288790033435520844
--extra-vars=ovirt_query_ova_path="/root/ovaexports"
--extra-vars=list_directory="True" --extra-vars=entity_type="template"
/usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml [Logfile:
/var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20210616160605-ps-inf-int-kvm-fr-308-210.hostics.fr.log]
2021-06-16 16:06:10,369+02 INFO
 [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default
task-7) [bf07d4fe-7fd1-4787-a84b-8de59ecdd758] Ansible playbook command has
exited with value: 0
2021-06-16 16:06:39,449+02 ERROR
[org.ovirt.engine.core.bll.CommandsFactory] (default task-7)
[da051efc-4a1c-4146-b26e-a5419b69781b] An exception has occurred while
trying to create a command object for command 'ImportVmTemplateFromOva'
with parameters
'ImportVmTemplateFromOvaParameters:{commandId='a4e405b1-024b-4a42-a67c-986611fda292',
user='null', commandType='Unknown'}': WELD-49: Unable to invoke
protected final void org.ovirt.engine.core.bll.CommandBase.postConstruct()
on
org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand@124e9537
2021-06-16 16:06:39,450+02 ERROR
[org.ovirt.engine.core.bll.CommandsFactory] (default task-7)
[da051efc-4a1c-4146-b26e-a5419b69781b] Exception:
java.lang.IllegalArgumentException: VM64BitMaxMemorySizeInMB has no value
for version: 4.6
at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.getValue(DBConfigUtils.java:161)
[dal.jar:]
at org.ovirt.engine.core.common.config.Config.getValue(Config.java:28)
[common.jar:]
at
org.ovirt.engine.core.common.utils.VmCommonUtils.maxMemorySizeWithHotplugInMb(VmCommonUtils.java:72)
[common.jar:]
at
org.ovirt.engine.core.bll.VmHandler.updateMaxMemorySize(VmHandler.java:1319)
[bll.jar:]
at
org.ovirt.engine.core.bll.VmHandler$Proxy$_$$_WeldClientProxy.updateMaxMemorySize(Unknown
Source) [bll.jar:]
at
org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommandBase.init(ImportVmTemplateCommandBase.java:89)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.postConstruct(CommandBase.java:219)
[bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_292]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_292]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_292]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_292]
at
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:83)
[weld-core-impl-3.1.1.Final.jar:3.1.1.Final]
at
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:66)
[weld-core-impl-3.1.1.Final.jar:3.1.1.Final]
at
org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:122)
[weld-core-impl-3.1.1.Final.jar:3.1.1.Final]
at org.ovirt.engine.core.di.Injector.injectMembers(Injector.java:41)
[vdsbroker.jar:]
at
org.ovirt.engine.core.bll.CommandsFactory.createCommand(CommandsFactory.java:102)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandsFactory.createCommand(CommandsFactory.java:83)
[bll.jar:]
at
org.ovirt.engine.core.bll.NestedCommandFactory.createWrappedCommand(NestedCommandFactory.java:23)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.initCommandsAndReturnValues(PrevalidatingMultipleActionsRunner.java:91)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:74)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:579)
[bll.jar:]
at