Bug 1595339
| Summary: | [v2v] v2v wrapper fails on searching for iso domain on the storage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-ansible-collection | Reporter: | Mor <mkalfon> | ||||
| Component: | v2v-conversion-host | Assignee: | Tomáš Golembiovský <tgolembi> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | meital avital <mavital> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | ahadas, bugs, michal.skrivanek, tgolembi | ||||
| Target Milestone: | ovirt-4.4.3 | Flags: | rbarry:
ovirt-4.4?
tgolembi: planning_ack? tgolembi: devel_ack? tgolembi: testing_ack? |
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | v2v | ||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-01-07 18:58:38 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: | 1913347 | ||||||
| Bug Blocks: | 1592791 | ||||||
| Attachments: |
|
||||||
Created attachment 1454717 [details]
logs
Fixed upstream by commit:
db553963e27a47bb8aae913a668c4e8ee9d278c8
We need to support ISOs on block domains. Why is it a problem? Right now the wrapper looks only for ISO storage domain which oVirt supports only on NFS. If we want to search for ISOs in all storage domains I need to investigate that possibility more. Deferring until we can investigate ISOs on other domain types We are investigating the possibility of distributing the ISO in other way so that we wouldn't have to rely on data domain. We don't have any alternative how to handle this. IMS needs to keep relying on the ISO (from RHV 4.3) still being in ISO domain on RHV 4.4. We are going to keep requiring the ISO to reside in an ISO domain for v2v conversions. |
Description of problem: v2v wrapper from ovirt-ansible-v2v-conversion-host-1.4.1-1 causing V2V process on MIQ to fail with the following error: 2018-06-25 21:32:01,024:INFO: Wrapper version 5, uid=36 (virt-v2v-wrapper:579) 2018-06-25 21:32:01,025:INFO: Will store virt-v2v log in: /var/log/vdsm/import/v2v-import-20180625T213201-27183.log (virt-v2v-wrapper:581) 2018-06-25 21:32:01,025:INFO: Will store state file in: /tmp/v2v-import-20180625T213201-27183.state (virt-v2v-wrapper:582) 2018-06-25 21:32:01,025:INFO: Path to CA certificate not specified, trying VDSM default: /etc/pki/vdsm/certs/cacert.pem (virt-v2v-wrapper:626) 2018-06-25 21:32:01,027:DEBUG: is_iso_domain check for /rhev/data-center/mnt/blockSD/ba2a6b97-e88f-4871-95e2-09a1636d4ddd/dom_md/metadata (virt-v2v-wrapper:283) 2018-06-25 21:32:03,969:DEBUG: is_iso_domain check for /rhev/data-center/mnt/blockSD/6a96947d-4b1c-429d-81dc-1530dfb51eb5/dom_md/metadata (virt-v2v-wrapper:283) 2018-06-25 21:32:06,881:DEBUG: is_iso_domain check for /rhev/data-center/mnt/blockSD/d7dc27a6-ac3a-4879-9fa7-709ab72938c5/dom_md/metadata (virt-v2v-wrapper:283) 2018-06-25 21:32:06,883:ERROR: Wrapper failure (virt-v2v-wrapper:726) Traceback (most recent call last): File "/usr/bin/virt-v2v-wrapper.py", line 647, in <module> check_install_drivers(data) File "/usr/bin/virt-v2v-wrapper.py", line 492, in check_install_drivers iso_domain = find_iso_domain() File "/usr/bin/virt-v2v-wrapper.py", line 316, in find_iso_domain is_iso_domain(os.path.join(sub[0], 'metadata')): File "/usr/bin/virt-v2v-wrapper.py", line 284, in is_iso_domain with open(path, 'r') as f: IOError: [Errno 2] No such file or directory: '/rhev/data-center/mnt/blockSD/d7dc27a6-ac3a-4879-9fa7-709ab72938c5/dom_md/metadata' 2018-06-25 21:32:06,885:INFO: Removing password files (virt-v2v-wrapper:728) Version-Release number of selected component (if applicable): MIQ master.20180619230249_84e9fa9 RHV 4.2.4.5-0.1.el7_3 How reproducible: 100% Steps to Reproduce: 1. Run migration of a VM from VMware to RHV on iSCSI source and target storage. Actual results: Fails with error. Expected results: No error. Additional info: