Hello all,
Complete noob to Xen but liking it so far except for one issue. Importing a test VM from RedHat Virtualization to xcp-ng. So in RHV, I selected "Export to OVA" from our test vm. It created an OVA file. Great! So far so good. I then mount the NFS directory containing the exported VM (ignis.ova) on the xcp-ng host server. Once I have it mounted, I then try to import it with xe vm-import. This is where I'm having issues:
[15:34 host1 ignis]# xe vm-import filename=/tmp/ovaimport/ignis/ignis.ova sr-uuid=c7103321-7066-79d1-2f13-2f3d723c3506 preserve=true
The VM could not be imported because the XVA file is invalid: an unexpected file was encountered.
filename_expected: ova.xml
filename_found: vm.ovf
I then try to extract the OVA file and import it that way, but then receive another error:
[15:39 host1 ignis]# tar xf ignis.ova
[15:43 host1 ignis]# ll
total 146791224
-rw-r--r-- 1 root root 75157078016 Feb 12 11:21 795f650b-5c8a-4463-87a6-d02b1f8819cc
-rw------- 1 root root 75157103616 Feb 14 14:44 ignis.ova
-rw-r--r-- 1 root root 2535 Feb 12 11:21 nvram.dat
-rw-r--r-- 1 root root 512 Feb 12 11:21 pad
-rw-r--r-- 1 root root 19034 Feb 12 11:21 vm.ovf
[15:46 host1 ignis]# xe vm-import filename=/tmp/ovaimport/ignis/vm.ovf sr-uuid=c7103321-7066-79d1-2f13-2f3d723c3506 preserve=true
The VM could not be imported.
msg: INTERNAL_ERROR: [ (Failure Int64.of_string) ]
Any suggestions? I'm sure I'm missing something. Thanks!