Bug 1609921

Summary: [v2v] Migration plans should be hidden if any of RHV or VMware providers are missing
Product: Red Hat CloudForms Management Engine Reporter: Kedar Kulkarni <kkulkarn>
Component: V2VAssignee: Brett Thurber <bthurber>
Status: CLOSED NEXTRELEASE QA Contact: Yadnyawalk Tale <ytale>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.0CC: dmetzger, fdupont, hkataria, kkulkarn, lavenel, mfeifer, mpovolny, obarenbo, vconzola
Target Milestone: GAFlags: kkulkarn: automate_bug+
Target Release: cfme-future   
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: 2018-12-10 20:56:23 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:
Attachments:
Description Flags
Screenshot none

Description Kedar Kulkarni 2018-07-30 20:11:13 UTC
Created attachment 1471639 [details]
Screenshot

Description of problem:
 Migration plans should be hidden if any of RHV or VMware providers are missing, as you can see in the screenshot attached, if there are not enough providers, I see "Configure Provider" button on screen, but I can still see and "Retry" existing migration plans. These plans ideally should be deleted as provider they were associated with is no longer present. Or at least hide Migration plans section altogether when you are showing "Configure Providers" button. 
Also make sure, if there are any scheduled plans, those must be removed/hidden and prevented from execution.

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

How reproducible:
100%

Steps to Reproduce:
1.Add provider VMware/RHV
2.Create infra mapping/migration plans
3.Remove at least one provider
4.Navigate to migration dashboard

Actual results:
See screenshot.
Plans visible and can be retried. Which will obviously fail as provider no longer present.

Expected results:
These plans ideally should be deleted as provider they were associated with is no longer present. Or at least hide Migration plans section altogether when you are showing "Configure Providers" button. 
Also make sure, if there are any scheduled plans, those must be removed/hidden and prevented from execution.
Additional info:

Comment 3 Kedar Kulkarni 2018-10-30 17:09:57 UTC
https://github.com/ManageIQ/manageiq-v2v/issues/748

Comment 4 Kedar Kulkarni 2018-10-30 17:28:11 UTC
This issue is still present, tested in CFME version 5.10.0.21.

Comment 6 vconzola 2018-12-10 19:52:35 UTC
We're not hiding migration plans. That's a poor user experience. This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1644443 and will be addressed in a future release.

Comment 7 Brett Thurber 2018-12-10 20:56:23 UTC
Moving to closed per Vince's comment.