Bug 1699343
Summary: | [V2V][Regression] Migration plan CSV import validation not working if file contains empty/archived/orphan/invalid VM name | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Yadnyawalk Tale <ytale> | ||||
Component: | V2V | Assignee: | Fabien Dupont <fdupont> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadnyawalk Tale <ytale> | ||||
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | ||||
Priority: | high | ||||||
Version: | 5.10.3 | CC: | apinnick, bthurber, mturley, pvauter | ||||
Target Milestone: | GA | Keywords: | Regression, TestOnly, ZStream | ||||
Target Release: | 5.11.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | v2v | ||||||
Fixed In Version: | 5.11.0.1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1702083 (view as bug list) | Environment: | |||||
Last Closed: | 2019-12-13 15:16:24 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | Bug | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | V2V | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1702083 | ||||||
Attachments: |
|
Description
Yadnyawalk Tale
2019-04-12 13:25:34 UTC
Created attachment 1554789 [details]
waiting_for_validation.png
YTale, thanks for catching this. When I added the VMWare Folder View feature (https://bugzilla.redhat.com/show_bug.cgi?id=1593839) I wrote code that assumes VM objects from validation/discovery will always have a defined "path" property, but invalid CSV rows do not. The tests for that code did not include invalid CSV rows. I've fixed the regression in this PR: https://github.com/ManageIQ/manageiq-v2v/pull/932 The PR also adds a better unit test for this case. Verified on: 5.11.0.4 |