Import OVA to RHV fails with TypeError message

Solution Verified - Updated -

Issue

Import of OVA to RHV fails with following messsage

Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1566911534.59-196625308306435/extract_ova.py", line 108, in <module>                                                   
    extract_disks(sys.argv[1], yaml.load(sys.argv[2]), yaml.load(sys.argv[3]))
  File "/root/.ansible/tmp/ansible-tmp-1566911534.59-196625308306435/extract_ova.py", line 96, in extract_disks                                               
    image_guid = image_mappings[name] if image_mappings else name
TypeError: string indices must be integers, not str

Environment

  • Red Hat Virtualization 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content