Bug 1335467

Summary: Failed to import ManageIQ ova
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: BLL.VirtAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED WORKSFORME QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, michal.skrivanek, ptoscano, tnisan
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-13 08:27:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2016-05-12 09:35:38 UTC
Downloaded manageiq-ovirt-darga-1-beta1.ova from manageiq website in /home on a NGN host.

Gone to virtual machine tab, used import OVA

specified the host and the path:/home/manageiq-ovirt-darga-1-beta1.ova

operation fails with error: "Failed to load VM configuration from OVA file: /home/manageiq-ovirt-darga-1-beta1.ova"

On host:

jsonrpc.Executor/3::ERROR::2016-05-12 11:31:13,509::__init__::532::jsonrpc.JsonRpcServer::(_serveRequest) Internal server error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 527, in _serveRequest
    res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 268, in _dynamicMethod
    result = fn(*methodArgs)
  File "/usr/share/vdsm/API.py", line 1441, in getExternalVmFromOva
    return v2v.get_ova_info(ova_path)
  File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 197, in get_ova_info
    _add_general_ovf_info(vm, root, ns)
  File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 1046, in _add_general_ovf_info
    raise V2VError('Error parsing ovf information: no ovf:Name')
V2VError: Error parsing ovf information: no ovf:Name

Comment 1 Sandro Bonazzola 2016-05-12 09:41:44 UTC
Raised on manageiq here: http://talk.manageiq.org/t/failed-to-import-manageiq-ova-in-ovirt-4-0-beta-candidate/1422

Comment 2 Michal Skrivanek 2016-05-13 08:27:42 UTC
same as in previous release it seems they still generate a non-compatible ovf. Indeed better to follow up manageiq side

Comment 3 Michal Skrivanek 2016-05-13 08:28:29 UTC
same as in previous release it seems they still generate a non-compatible ovf. Indeed better to follow up manageiq side

Comment 4 Michal Skrivanek 2016-05-13 09:53:58 UTC
sorry, I didn't look carefully enough. You used v2v conversion which is not supposed to be used. See instructions on ManageIQ download page.
On the bright side I tried it myself now and it worked for darga-1-beta1, so that's the good news!:)

Comment 5 Pino Toscano 2017-05-16 06:57:11 UTC
Note that the issue reported in the comment #0 was also reported as bug 1401077 (oVirt), fixed in libguestfs on RHEL 7.3.z (bug 1408124), and RHEL 7.4 (bug 1402301).

That said, we (libguestfs team) mostly test OVAs coming from VMware, so there could be other issues with these OVAs.