Bug 1825638
Summary: | OVA export is failing writing disk headers | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Liran Rotenberg <lrotenbe> | ||||
Component: | BLL.Virt | Assignee: | Liran Rotenberg <lrotenbe> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.4.0 | CC: | aoconnor, bpelled, bugs, eshames, gveitmic, lsvaty, mavital, michal.skrivanek, mnecas, mperina, nsimsolo, rbarry, tamir | ||||
Target Milestone: | ovirt-4.4.1 | Keywords: | Regression | ||||
Target Release: | --- | Flags: | pm-rhel:
ovirt-4.4+
aoconnor: blocker+ |
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | rhv-4.4.0-35 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-07-08 08:25:20 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: | 1684266, 1733843, 1743543, 1748879, 1771333 | ||||||
Attachments: |
|
Description
Liran Rotenberg
2020-04-19 14:26:26 UTC
Network ok? The connection shouldn't be closed for this (In reply to Ryan Barry from comment #1) > Network ok? The connection shouldn't be closed for this Network OK, the error is within stderr_lines: "Traceback (most recent call last):", "File \"/root/.ansible/tmp/ansible-tmp-1587301528.376324-209034821475250/pack_ova.py\", line 99, in <module>", "write_disk_headers(ova_file, disks_info.split('+'))", "File \" /root/.ansible/tmp/ansible-tmp-1587301528.376324-209034821475250/pack_ova.py\", line 71, in write_disk_headers","idx = disk_info.index('::')", "ValueError: substring not found" The pack_ova.py returns non-zero and the connection is closed. I checked it on two different environments. *** Bug 1825842 has been marked as a duplicate of this bug. *** Also seen this issue manually using build ovirt-engine-4.4.0-0.33.master.el8ev The main issue we see here should be fixed in(tested locally and it did work): https://github.com/ansible/ansible-runner-service/pull/52 The problem is, when ansible running the python script, it adds files and directories in $HOME at the destination host as arguments for the python script. Therefore, we are having wrong arguments, failing the script. Another problem is regarding template export - an NPE caused by: BZ 1733843. As well, we had problems importing both VM and template, caused by changes in escaping in: https://gerrit.ovirt.org/#/c/107683/ I will post the fix for the escaping and the template export, but this bug still needs the PR for ansible-runner and a ansible-runner version bump. Does this happen on export of VMs or only templates? (In reply to Lukas Svaty from comment #6) > Does this happen on export of VMs or only templates? Issue is true for both VM export and template export *** Bug 1828025 has been marked as a duplicate of this bug. *** *** Bug 1828040 has been marked as a duplicate of this bug. *** Patch is merged and ansible-runner-service-dev-1.0.2 released. *** Bug 1833851 has been marked as a duplicate of this bug. *** Verification builds: ovirt-engine-4.4.1.1-0.5.el8ev vdsm-4.40.17-1.el8ev.x86_64 libvirt-daemon-6.0.0-22.module+el8.2.1+6815+1c792dc8.x86_64 qemu-kvm-4.2.0-22.module+el8.2.1+6758+cb8d64c2.x86_64 Verification scenario: 1. Export VM with 4 disks as OVA. Verify VM exported successfully. 2. Import OVA. Run VM and verify VM is running. 3. Make template from VM with 4 disks. export template as OVA. Verify template exported as OVA successfully. 4. Import template as clone from OVA. Verify Template imported successfully. 5. Create VM from imported template. Run VM and verify VM is running. This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 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. |