Bug 1889987
Summary: | Export VM task block other tasks | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | nijin ashok <nashok> |
Component: | ovirt-engine | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED ERRATA | QA Contact: | Nisim Simsolo <nsimsolo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.2 | CC: | ahadas, bugs, emarcus, eshenitz, francesco, gianluca.cecchi, godas, kwolf, lrotenbe, mavital, mnecas, mperina, nsimsolo, nsoffer, pagranat, tnisan, tommaso |
Target Milestone: | ovirt-4.4.4 | ||
Target Release: | 4.4.4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.4.1 | Doc Type: | Bug Fix |
Doc Text: |
Previously, when the export VM as OVA command was executed, other operations on the engine were blocked. This made the engine execute operations serially while expected to be parallel.
In this release, engine tasks are executed in parallel, unblocked by the export VM as OVA command.
|
Story Points: | --- |
Clone Of: | 1855782 | Environment: | |
Last Closed: | 2021-02-02 13:58:29 UTC | Type: | --- |
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: | 1855782 | ||
Bug Blocks: |
Description
nijin ashok
2020-10-21 07:26:48 UTC
Cloned to downstream to attach the customer case. Here the customer is exporting multiple VMs for backup purposes using ovirt_vm module. However, since the Ansible playbooks are executed serially, all the VMs and their snapshots are locked in the manager until the last VMs export is completed. This causes issues in managing the VMs during the time when the backup script is executed. Verified: ovirt-engine-4.4.4.5-0.10.el8ev vdsm-4.40.40-1.el8ev.x86_64 qemu-kvm-5.1.0-14.module+el8.3.0+8790+80f9c6d8.1.x86_64 libvirt-daemon-6.6.0-7.1.module+el8.3.0+8852+b44fca9f.x86_64 Verification scenario: 1. Export 5 VMs in parallel to the same host 2. Observe host processes and verify host can handle pack_ova.py at the same time. for example: [root@hostname ova_test_delete_me]# ps -aux | grep -i ansible root 1699271 0.0 0.0 10404 3064 pts/2 Ss+ 11:01 0:00 /bin/sh -c /usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1609750861.9362593-485170-43011801543562/pack_ova.py "vm" "/home/nisim/ova_test_delete_me/1_RHEL7_Q35_UEFI.ova.tmp root 1699287 0.1 0.0 66196 12276 pts/2 S+ 11:01 0:00 /usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1609750861.9362593-485170-43011801543562/pack_ova.py vm /home/nisim/ova_test_delete_me/1_RHEL7_Q35_UEFI.ova.tmp <?xml version= root 1699508 0.0 0.0 10400 3208 pts/3 Ss+ 11:01 0:00 /bin/sh -c /usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1609750864.4523098-485219-158194925913684/pack_ova.py "vm" "/home/nisim/ova_test_delete_me/1_RHEL8.2_SecureBoot.ov root 1699524 0.1 0.0 66192 12212 pts/3 S+ 11:01 0:00 /usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1609750864.4523098-485219-158194925913684/pack_ova.py vm /home/nisim/ova_test_delete_me/1_RHEL8.2_SecureBoot.ova.tmp <?xml ver 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 (RHV Engine and Host Common Packages 4.4.z [ovirt-4.4.4]), 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/RHBA-2021:0312 |