The upload_ova_as_template.py example needs to be adjusted due to recent changes in imageio.
upload_ova_as_vm.py should probably also be adjusted.
Reassigned: ovirt-engine-4.4.5.3-0.14.el8ev vdsm-4.40.50.3-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.3.module+el8.3.0+9547+7d548490.x86_64 Reassigning reason: 1. upload_ova_as_vm.py script hangs forever, in WebAdmin -> disks there are 6 disks of the same OVA, 5 of them are locked and 1 is with ok status. upload ova started at (see engine.log attached): 2021-02-01 12:04:24,694+02 INFO [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (default task-13) [412516ad-257a-4838-b8a0-9c8db2d2aeab] Running command: AddDiskCommand internal: false. Entities affected : ID: d43bba3d-d1ff-4e4e-b651-16d70d9bec91 Type: StorageAction group CREATE_DISK with role type USER 2. upload_ova_as_template.py failed with (from engine.log): 2021-02-01 14:21:22,226+02 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-20) [] Operation Failed: [Cannot transfer Virtual Disk: The following disks are locked: 1_RHEL8_Disk1. Please try again in a few minutes.] WebAdmin -> disks, 5 disks are locked and one is in ok status. engine.log, vdsm.log and WebAdmin screenshots attached
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Created attachment 1752844 [details] engine.log
Created attachment 1752845 [details] vdsm.log
Created attachment 1752846 [details] screenshot of upload ova as VM
Created attachment 1752847 [details] screenshot of upload OVA as template
Liran, can you please take a look?
Verfication builds: ovirt-engine-4.4.5.6-0.11.el8ev vdsm-4.40.50.6-1.el8ev.x86_64 libvirt-daemon-6.6.0-13.module+el8.3.1+9548+0a8fede5.x86_64 qemu-kvm-5.1.0-20.module+el8.3.1+9918+230f5c26.x86_64 Verification scenario: 1. Upload OVA as VM. 2. Verify upload succeeds, run VM and verify VM is running properly. 3. Upload OVA as template. 4. Verify template uploaded successfully. 5. Create VM from template. 6. Verify VM created, run VM and verify VM is running properly.
Polarion test case updated with the new upload method.
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 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.