On Tue, Mar 6, 2018 at 10:23 PM, Fabrice SOLER <fabrice.soler@ac-guadeloupe.fr> wrote:
Hello,

I have imported a VM with OVA created with VMware and it works !

That's great, but note that importing an OVA that was created by VMware is totally different than importing an OVA that was created by oVirt implementation-wise.
 
So, the problem is in the export ! The vm.ovf has no line terminators, that why it does not work !

[root@ovirt-eple amon]# file vm.ovf
vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no line terminators

Is there somebody would know a solution ?

I'm afraid that's not the issue here - the OVF inside the OVA seems valid (otherwise, the UI would have failed to "load" the configuration from the OVA file).
You may be facing one of the various issues that were already resolved and will be available in 4.2.2, but it's hard to tell without having the logs.
If you can share the engine+ansible logs, we will gladly look at them and try to shed more light on the issue you're facing.
Otherwise, I would suggest to wait for 4.2.2 where the new OVA support is much more mature.
 

Sincerely,
Fabrice SOLER



Le 06/03/2018 à 14:25, Fabrice SOLER a écrit :
Hi,

I have deleted the VM amon and tried to import the OVA. It does not work.
I think there is a problem in the ovf file (XML format) like I posted in the precedente mail :

I constated that the ovf format is not the same when I made the export ova with vmware and ovirt.

Export ova with vmware :

[root@eple-rectorat-proto AntiVirus]# file AntiVirus.ovf
AntiVirus.ovf: XML 1.0 document, ASCII text, with very long lines, with CRLF line terminators

Export ova with ovirt :
[root@ovirt-eple amon]# file vm.ovf
vm.ovf: XML 1.0 document, ASCII text, with very long lines, with no line terminators

With Ovirt there is no line terminators.

Is that normal ? Is that why the OVA import does not work ?







Le 06/03/2018 à 12:11, Oliver Riesener a écrit :
Hi Fabrice,
try to rename the already existing old VM to another name like amon-old.
The import the OVA machine again.

On 06.03.2018 15:33, Fabrice SOLER wrote:
Hello,

I have upgraded the engine and the node, so the version is : 4.2.1.1.1-1.el7
To import, I made a "tar xvf file.ova".
Then from the portal, I import the VM


I saw that :



After that the amon was removed as we can see in the events  :



It seems it does not work. Maybe the VM is hide somewhere ?

Sincerely,




_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users