Description of problem: Engine fails to import formerly-importable OVA because it assumes that first element in tarball is ovf. Version-Release number of selected component (if applicable): ovirt-engine-4.2.1-0.0.master.20171221141808.git6835552.el7.centos.noarch How reproducible: 100%
Any example? Such OVAs are invalid
I received https://drive.google.com/a/redhat.com/file/d/0BxpLE_1jmZyFSlMwRTdSMW5JaEE/ from Kun Wei as a reproducer for bug 1503947. I believe that this is something that ESX has generated, and that orders of files in a tarball should not be trusted (regardless of what vmware does).
WA is to repack the OVA to adhere to standard with OVF file being the first in the archive
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Verification builds: rhvm-4.2.2.1-0.1.el7 sanlock-3.6.0-1.el7.x86_64 qemu-kvm-rhev-2.10.0-19.el7.x86_64 libvirt-client-3.9.0-13.el7.x86_64 virt-v2v-1.36.10-6.el7.x86_64 Verification scenario: 1. Extract OVA file using tar xvf 2. Pack it again in a way that the OVF is not in the first entry, for example: # tar cvf rhel7.ova rhel7.mf rhel7-disk1.vmdk rhel7.ovf 3. Import new OVA. Verify OVA imported successfully. validate VM configuration and parameters are correct. Run VM and verify VM is running properly.
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.