Description of problem: When trying to query OVA file to import from Webadmin, the action failed with the next engine log ERRORs: 2017-12-31 15:26:24,537+02 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-25) [517ffe15-40b7-40da-a270-f59bc546a947] Query 'GetVmFromOvaQuery' failed: null 2017-12-31 15:26:24,537+02 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-25) [517ffe15-40b7-40da-a270-f59bc546a947] Exception: java.lang.NullPointerException at org.ovirt.engine.core.bll.GetVmFromOvaQuery.executeQueryCommand(GetVmFromOvaQuery.java:47) [bll.jar:] . . . Version-Release number of selected component (if applicable): rhvm-4.2.0.2-0.1.el7 qemu-kvm-rhev-2.9.0-16.el7_4.13.x86_64 sanlock-3.5.0-1.el7.x86_64 libvirt-client-3.2.0-14.el7_4.5.x86_64 vdsm-4.20.9.3-1.el7ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Browse Webadmin -> Compute -> Virtual machines -> more button -> Import 2. Select "Virtual appliance (OVA)" source and enter OVA path 3. Click "load" button Actual results: Action failed with the next Webadmin failure message: "Failed to load VM configuration from OVA file: /home/nisim/rhel_7.ova and with the next engine.log ERRORs: 2017-12-31 15:26:24,537+02 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-25) [517ffe15-40b7-40da-a270-f59bc546a947] Query 'GetVmFromOvaQuery' failed: null 2017-12-31 15:26:24,537+02 ERROR [org.ovirt.engine.core.bll.GetVmFromOvaQuery] (default task-25) [517ffe15-40b7-40da-a270-f59bc546a947] Exception: java.lang.NullPointerException Expected results: OVA querying should not fail Additional info: engine.log attached
Created attachment 1374935 [details] engine.log
Duplicate of bug 1529965 ?
The posted fix is not enough, Ansible's default log-level was changed recently to verbose (https://gerrit.ovirt.org/#/c/85747/) and it seems to break this operation again. I'll post a fix.
Verified: rhvm-4.2.1.1-0.1.el7 qemu-kvm-rhev-2.9.0-16.el7_4.13.x86_64 libvirt-client-3.2.0-14.el7_4.7.x86_64 vdsm-4.20.13-1.el7ev.x86_64 sanlock-3.5.0-1.el7.x86_64
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.