<div dir="ltr"><div style="font-size:12.8000001907349px">Hi all,</div><div style="font-size:12.8000001907349px">I'm trying to import an OVA (containing .ovf, disk, and disk.meta) into my ovirt environment, but it's failing during the import where it seems that it shouldn't. The command I'm running is:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">export TMPDIR=/data/backup/test; engine-image-uploader upload /data/convert/srepetsk-vm.ova --insecure --name=srepetsk-testvmimport -n $nfs_server:/backup/2fff9385-10b8-41e5-93c6-c0ef18b9840f -v</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">The command mounts the nfs server, extracts the OVA into /data/backup/test/tmpxEpuMc/, parses the OVF file (/data/backup/test/tmpxEpuMc/srepetsk-vm.ovf), and creates the new .meta file and whatnot for the disk image.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">It then proceeds to fail saying:</div><div style="font-size:12.8000001907349px"><div><br></div><div>ERROR: Unable to update the OVF XML file. Message: [Errno 2] No such file or directory: '/data/backup/test/tmpxEpuMc/srepetsk-vm.ovf'</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">however, this is the same file that it extracted and read earlier. What might I be doing wrong?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Full(er) log:</div><div style="font-size:12.8000001907349px"><div>DEBUG: local extract directory for OVF is /data/backup/test/tmpxEpuMc</div><div>DEBUG: Size of /data/convert/srepetsk-vm.ova: <a href="tel:17179876069" value="+17179876069" target="_blank">17179876069</a> bytes 16777222.7 1K-blocks 16384.0 MB<br></div><div>DEBUG: Available space in /data/backup/test/tmpxEpuMc: 5206184878080 bytes <a href="tel:5084164920" value="+15084164920" target="_blank">5084164920</a>.0 1K-blocks 4965004.8 MB</div><div>DEBUG: File is /data/backup/test/tmpxEpuMc/srepetsk-vm.ovf</div><div>DEBUG: tag(Section) text(None) attr({'{<a href="http://www.w3.org/2001/XMLSchema-instance%7Dtype" target="_blank">http://www.w3.org/2001/XMLSchema-instance}type</a>': 'ovf:VirtualHardwareSection_Type'}) class(<Element Section at 1e752b8>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75368>)</div><div>DEBUG: tag({<a href="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData%7DCaption" target="_blank">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}Caption</a>) value(1 virtual cpu)</div></div><div style="font-size:12.8000001907349px"><snip></div><div style="font-size:12.8000001907349px"><div>DEBUG: old meta file(/data/backup/test/tmpxEpuMc/5f63da48-3ced-42ad-b684-72b626aec727.meta) new meta file(/data/backup/test/tmpxEpuMc/fffc878e-8df9-4b81-b04a-614a0af437a3.meta)</div><div>DEBUG: old dir(/data/backup/test/tmpxEpuMc) new dir(/data/backup/test/4cd70a4f-f979-4b42-a416-2c8b4d028a88)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75470>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e754c8>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75520>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75578>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e755d0>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75628>)</div><div>DEBUG: tag(Section) text(None) attr({'{<a href="http://www.w3.org/2001/XMLSchema-instance%7Dtype" target="_blank">http://www.w3.org/2001/XMLSchema-instance}type</a>': 'ovf:VirtualHardwareSection_Type'}) class(<Element Section at 1e752b8>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75368>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e753c0>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75418>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75470>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e754c8>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75520>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75578>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e755d0>)</div><div>DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at 1e75628>)</div><div>ERROR: Unable to update the OVF XML file. Message: [Errno 2] No such file or directory: '/data/backup/test/tmpxEpuMc/srepetsk-vm.ovf'</div><div>DEBUG: Cleaning up OVF extract directory /data/backup/test/tmpxEpuMc</div><div>DEBUG: [Errno 2] No such file or directory: '/data/backup/test/tmpxEpuMc'</div><div>DEBUG: /bin/umount -t nfs -f /data/backup/test/tmpd8kH1X</div><div>DEBUG: /bin/umount -t nfs -f /data/backup/test/tmpd8kH1X</div><div>DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f', '/data/backup/test/tmpd8kH1X'])</div><div>DEBUG: returncode(0)</div><div>DEBUG: STDOUT()</div><div>DEBUG: STDERR()</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks,</div><div style="font-size:12.8000001907349px">Stephen</div><div style="font-size:12.8000001907349px"><br></div><div><div class="gmail_signature"><div dir="ltr"><b style="color:rgb(102,102,102)">Stephen Repetski</b><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Rochester Institute of Technology '13 | </span><a style="color:rgb(102,102,102)" href="http://srepetsk.net" target="_blank">http://srepetsk.net</a><br></div></div></div>
</div>