Bug 2076474 - OVA import: importing VM OVA failed with "async task did not complete within the requested time - 120s"
Summary: OVA import: importing VM OVA failed with "async task did not complete within...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.5.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.5.0
: 4.5.0.4
Assignee: Martin Perina
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks: 1986726
TreeView+ depends on / blocked
 
Reported: 2022-04-19 07:12 UTC by Nisim Simsolo
Modified: 2022-04-28 09:26 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.5.0.4
Clone Of:
Environment:
Last Closed: 2022-04-28 09:26:34 UTC
oVirt Team: Virt
Embargoed:
mperina: ovirt-4.5+
michal.skrivanek: blocker+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 289 0 None open core: Fix time units for ansible async timeount 2022-04-19 09:53:15 UTC
Github oVirt ovirt-engine pull 291 0 None Merged backport to 4.5.0.z: core: Fix time units for ansible async timeount 2022-04-19 12:20:13 UTC
Red Hat Issue Tracker RHV-45809 0 None None None 2022-04-19 07:16:06 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.