Bug 1701330 - [RFE] Filter out ISO and Export storage domains for RHV Infra Mapping wiizard
Summary: [RFE] Filter out ISO and Export storage domains for RHV Infra Mapping wiizard
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.2
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Mike Turley
QA Contact: Yadnyawalk Tale
Red Hat CloudForms Documentation
URL:
Whiteboard: v2v
Depends On:
Blocks: 1711032
TreeView+ depends on / blocked
 
Reported: 2019-04-18 16:08 UTC by Fabien Dupont
Modified: 2019-12-13 15:09 UTC (History)
3 users (show)

Fixed In Version: 5.11.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1711032 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:09:42 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fabien Dupont 2019-04-18 16:08:26 UTC
Description of problem:
When creating a RHV Infrastructure Mapping, all the storage domains of the destination provider are listed. However, if one tries to migrate to an ISO or Export domain, the migration will fail. It would be better if only Data storage domains were listed.

Version-Release number of selected component (if applicable): 5.10.2


How reproducible: 100%


Steps to Reproduce:
1. Create a RHV Infrastructure Mapping with wizard
2. Go to the storage mapping screeen

Actual results:
The ISO and Export storage domains of the destination provider are listed.

Expected results:
The ISO and Export storage domains of the destination provider are NOT listed.

Additional info:
When calling the API, it's possible to filter on the 'storage_domain_type' attribute. The only valid value for RHV provider is 'data'.

Comment 2 Mike Turley 2019-05-02 14:15:30 UTC
PR: https://github.com/ManageIQ/manageiq-v2v/pull/947

Comment 3 Mike Turley 2019-05-13 17:28:38 UTC
Realized I missed a case, this will need one followup PR.

Comment 4 Mike Turley 2019-05-13 17:40:21 UTC
In PR#947 I had applied the storage_domain_type filter to all datastores, not just RHV ones. This prevented OSP datastores from appearing in the Wizard.

I corrected the issue in this followup PR: https://github.com/ManageIQ/manageiq-v2v/pull/949

Comment 5 Mike Turley 2019-05-14 13:05:16 UTC
Both PRs are merged, moving this to POST.

Comment 7 Yadnyawalk Tale 2019-06-14 10:07:44 UTC
Fixed! Verified on: 5.11.0.8.20190611155126_01e077e 
(Tracker: 5.11 ON_QA day, Thanks Satyajit)


Note You need to log in before you can comment on or make changes to this bug.