Bug 1651352
Summary: | [v2v][osp] Volume cleanup fails if migrating to project different than where the conversion appliance is located | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Kedar Kulkarni <kkulkarn> |
Component: | V2V | Assignee: | Tomáš Golembiovský <tgolembi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadnyawalk Tale <ytale> |
Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | high | ||
Version: | 5.10.0 | CC: | bthurber, dmetzger, fdupont, simaishi |
Target Milestone: | GA | Keywords: | TestOnly |
Target Release: | 5.10.1 | ||
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: | 2019-03-08 14:51:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | V2V | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1668049, 1668791 | ||
Bug Blocks: |
Description
Kedar Kulkarni
2018-11-19 19:18:24 UTC
I checked this with CFME version 5.10.0.32, virt-v2v-1.38.2-12.28.lp.el7ev.x86_64 # Wrapper version VERSION = "11" If the migration fails, the volumes are not cleaned up. Does not matter if the volume is in admin project or in another destination project, it is not cleaned up. Here is a snippet from wrapper logs: 2019-01-21 15:03:41,968:DEBUG: Updated progress: 100.00 (virt-v2v-wrapper:891) 2019-01-21 15:06:22,151:INFO: virt-v2v terminated with return code 0 (virt-v2v-wrapper:1044) 2019-01-21 15:06:22,152:INFO: Executing command: ['openstack', u'--os-username=admin', u'--os-identity-api-version=3', u'--os-user-domain-name=default', u'--os-auth-url=https://10.8.58.137:13000/v3', u'--os-project-name=admin', u'--os-password=*****', 'token', 'issue'], environment: {} (virt-v2v-wrapper:1136) 2019-01-21 15:06:26,119:ERROR: No volumes found! (virt-v2v-wrapper:204) 2019-01-21 15:06:26,119:DEBUG: Cleanup phase (virt-v2v-wrapper:1355) 2019-01-21 15:06:26,120:INFO: Executing command: ['openstack', u'--os-username=admin', u'--os-identity-api-version=3', u'--os-user-domain-name=default', u'--os-auth-url=https://10.8.58.137:13000/v3', u'--os-project-name=admin', u'--os-password=*****', 'volume', 'transfer', 'request', 'list', '--format', 'json'], environment: {} (virt-v2v-wrapper:1136) 2019-01-21 15:06:38,736:INFO: Removing password files (virt-v2v-wrapper:1363) 2019-01-21 15:06:38,737:INFO: Finished (virt-v2v-wrapper:1385) marking FailedQA @Kedar, the failed test in https://bugzilla.redhat.com/show_bug.cgi?id=1651352#c8 is related to https://bugzilla.redhat.com/show_bug.cgi?id=1668049. As virt-v2v-wrapper doesn't know the volumes, it can't clean them. Fixed! Created admin project and provisioned conversion appliance in that. And other osp-auto project set as a target project, migration failed with multiple IPv6 issue and I can see volumes get cleaned up. Verified on: 5.10.1.1.20190212171432_83eb777 |