Import OVA to RHV fails with "error: not all arguments converted during string" message

Solution Verified - Updated -


Importing OVA from RHV 4.3 to the RHV 4.1 environment fails with following messages

2020-05-04 13:14:20,009-03 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-1) [f29c1cb4-604a-4b81-a4ae-3d6c9edf50e0] Exception: org.ovirt.engine.core.common.errors.EngineException: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to GetOvaInfoVDS, error = Attempt to call function: <bound method Global.getExternalVmFromOva of <API.Global object at 0x33c3650>> with arguments: (u'/var/tmp',) error: not all arguments converted during string formatting, code = -32603 (Failed with error unexpected and code 16)


File "/usr/lib/python2.7/site-packages/vdsm/", line 228, in get_ova_info
    raise V2VError('Error reading ovf from ova, position: %r' % e.position)
TypeError: not all arguments converted during string formatting


tar -tf '/var/tmp/ani-tools.ova'
tar '-xf' '/var/tmp/ani-tools.ova' '-C' '/var/tmp/ova.hzI32F' 'vm.ovf'
virt-v2v: error: expecting XML expression to return an integer (expression: 
rasd:Parent/text(), matching string: 00000000-0000-0000-0000-000000000000)


  • Red Hat Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In