Hide Forgot
Description of problem: After making an OVA file using RHEV, trying to import it fails with engine error: Error parsing OVF due to Error loading ovf, message Content is not allowed in prolog. This error is shown when trying to import using REST API. Using the WEB UI the window stuck on "loading". Version-Release number of selected component (if applicable): ovirt-engine-4.3.1.1-0.1.el7.noarch vdsm-4.30.9-1.el7ev.x86_64 qemu-kvm-rhev-2.12.0-21.el7.x86_64 libvirt-4.5.0-10.el7_6.4.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create a VM. 2. Export the VM as OVA. 3. Import the OVA made in step 2. Actual results: Using REST API - getting an error in the engine, WEB UI window is keep showing as loading. Expected results: REST API - Import the OVA successfully. WEB UI - show the VM in the given path, letting the user to import it. Additional info: The immediate difference I saw in the OVA logs is that the XML is now starting with a quote: '<?xml version="1.0" encoding="UTF-8"? .......</ovf:Envelope>' while before(working) was without it: <?xml version="1.0" encoding="UTF-8"? .......</ovf:Envelope>
Created attachment 1539534 [details] logs
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{}', ] For more info please contact: rhv-devops
Verified on: ovirt-engine-4.3.3.1-0.1.el7.noarch Steps: 1. Create a VM. 2. Export the VM as OVA. 3. Import the OVA made in step 2. Tested both with WEB-UI and REST API. Results: In both tests, the import was successful.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1085