Hi all,
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:
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
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.
It then proceeds to fail saying:
ERROR: Unable to update the OVF XML file. Message: [Errno 2] No such file
or directory: '/data/backup/test/tmpxEpuMc/srepetsk-vm.ovf'
however, this is the same file that it extracted and read earlier. What
might I be doing wrong?
Full(er) log:
DEBUG: local extract directory for OVF is /data/backup/test/tmpxEpuMc
DEBUG: Size of /data/convert/srepetsk-vm.ova: 17179876069 bytes
16777222.7 1K-blocks 16384.0 MB
DEBUG: Available space in /data/backup/test/tmpxEpuMc: 5206184878080 bytes
5084164920.0 1K-blocks 4965004.8 MB
DEBUG: File is /data/backup/test/tmpxEpuMc/srepetsk-vm.ovf
DEBUG: tag(Section) text(None) attr({'{
http://www.w3.org/2001/XMLSchema-instance}type';:
'ovf:VirtualHardwareSection_Type'}) class(<Element Section at 1e752b8>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75368>)
DEBUG: tag({
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationS...)
value(1 virtual cpu)
<snip>
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)
DEBUG: old dir(/data/backup/test/tmpxEpuMc) new
dir(/data/backup/test/4cd70a4f-f979-4b42-a416-2c8b4d028a88)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75470>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e754c8>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75520>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75578>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e755d0>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75628>)
DEBUG: tag(Section) text(None) attr({'{
http://www.w3.org/2001/XMLSchema-instance}type';:
'ovf:VirtualHardwareSection_Type'}) class(<Element Section at 1e752b8>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75368>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e753c0>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75418>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75470>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e754c8>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75520>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75578>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e755d0>)
DEBUG: item tag(Item) item text(None) item attr({}) class(<Element Item at
1e75628>)
ERROR: Unable to update the OVF XML file. Message: [Errno 2] No such file
or directory: '/data/backup/test/tmpxEpuMc/srepetsk-vm.ovf'
DEBUG: Cleaning up OVF extract directory /data/backup/test/tmpxEpuMc
DEBUG: [Errno 2] No such file or directory: '/data/backup/test/tmpxEpuMc'
DEBUG: /bin/umount -t nfs -f /data/backup/test/tmpd8kH1X
DEBUG: /bin/umount -t nfs -f /data/backup/test/tmpd8kH1X
DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f',
'/data/backup/test/tmpd8kH1X'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()
Thanks,
Stephen
*Stephen Repetski*
Rochester Institute of Technology '13 |
http://srepetsk.net