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'.
PR: https://github.com/ManageIQ/manageiq-v2v/pull/947
Realized I missed a case, this will need one followup PR.
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
Both PRs are merged, moving this to POST.
Fixed! Verified on: 5.11.0.8.20190611155126_01e077e (Tracker: 5.11 ON_QA day, Thanks Satyajit)