Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2076474

Summary: OVA import: importing VM OVA failed with "async task did not complete within the requested time - 120s"
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: BLL.VirtAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: high Docs Contact:
Priority: high    
Version: 4.5.0.2CC: ahadas, bugs, michal.skrivanek, mperina, nsimsolo
Target Milestone: ovirt-4.5.0Flags: mperina: ovirt-4.5+
michal.skrivanek: blocker+
Target Release: 4.5.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0.4 Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-28 09:26:34 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:
Bug Depends On:    
Bug Blocks: 1986726    

Description Nisim Simsolo 2022-04-19 07:12:18 UTC
Description of problem:
Currently, the default ANSIBLE_PLAYBOOK_EXEC_DEFAULT_TIMEOUT is 120s,
which is not enough for converting VMs with big disks.
the msg output from ovirt-import-ova-ansible.log is "async task did not complete within the requested time - 120s"

note: after changing the timeout value to 3000 seconds, the import failed with 
https://bugzilla.redhat.com/show_bug.cgi?id=2076465

Version-Release number of selected component (if applicable):
ovirt-engine-4.5.0.2-0.7.el8ev
vdsm-4.50.0.12-1.el8ev.x86_64
qemu-kvm-6.2.0-11.module+el8.6.0+14707+5aa4b42d.x86_64
libvirt-daemon-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create new VM with Q35/UEFI chipset and firmware and 10GB disk, install RHEL8 on that VM.
2. Export VM as OVA.
3. Import OVA

Actual results:
Import dailed

Expected results:
Import should succeed

Additional info:
engine.log, vdsm.log and OVA logs attached.

Comment 4 RHEL Program Management 2022-04-19 07:19:39 UTC
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.

Comment 5 Nisim Simsolo 2022-04-24 19:41:41 UTC
Verified:
ovirt-engine-4.5.0.4-0.1.el8ev
vdsm-4.50.0.13-1.el8ev.x86_64
qemu-kvm-6.2.0-11.module+el8.6.0+14707+5aa4b42d.x86_64
libvirt-daemon-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64

Verification scenario:
1. Import OVA of Q35/BIOS VM with big enough disk (ovirt-ova-extract should exceed 120 seconds).
2. Verify import succeeds. 
Observe OVA import log duration for task: [ovirt-ova-extract : Run extraction script]
and verify extraction time took more than 120 seconds (in my case: "duration" : 294.454956)
3. Run imported VM and verify VM is booting and running properly.

Comment 6 Sandro Bonazzola 2022-04-28 09:26:34 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 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.