Created attachment 1437257 [details] engine log Description of problem: Importing an OVA that was made in ovirt engine (exporting VM as OVA) failing. The failure is on org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand. Version-Release number of selected component (if applicable): ovirt-engine-4.2.3.5-0.1.el7.noarch vdsm-4.20.27.1-1.el7ev.x86_64 libvirt-client-3.9.0-14.el7_5.3.x86_64 qemu-kvm-rhev-2.10.0-21.el7_5.2.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create a VM in RHEV. 2. Export the VM as OVA to one of the hosts. 3. Import VM using the OVA file made in step 2. Actual results: Import VM failed. Expected results: VM import succeed. Additional info: From the ovirt-import-ova-ansible file: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1526467453.39-83410404804672/extract_ova.py", line 109, in <module> extract_disks(sys.argv[1], sys.argv[2].split('+')) File "/root/.ansible/tmp/ansible-tmp-1526467453.39-83410404804672/extract_ova.py", line 74, in extract_disks fd = os.open(ova_path, os.O_RDONLY | os.O_DIRECT) OSError: [Errno 22] Invalid argument: '/tmp/test.ova' refers to: https://github.com/oVirt/ovirt-engine/blob/master/packaging/playbooks/roles/ovirt-ova-extract/files/extract_ova.py
Created attachment 1437258 [details] ovirt-import-ova-ansible
Verified on: ovirt-engine-4.2.4-0.1.el7.noarch Steps: 1. Create a VM in RHEV. 2. Export the VM as OVA to one of the hosts. 3. Import VM using the OVA file made in step 2. Actual results: VM import succeed.
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.4 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.