Bug 1614243

Summary: [v2v] View Migrations when there are no infra mappings
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Brett Thurber <bthurber>
Status: CLOSED CURRENTRELEASE QA Contact: Yadnyawalk Tale <ytale>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.4CC: bthurber, dmetzger, fdupont, hkataria, jprause, lavenel, mfeifer, mpovolny, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.4.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1610983 Environment:
Last Closed: 2018-11-06 14:35:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1610983    
Bug Blocks:    
Attachments:
Description Flags
not_started_working_5.9.4.4.png
none
completed_working_5.9.4.4.png
none
issue_5.9.4.4.mp4 none

Comment 2 Yadnyawalk Tale 2018-08-20 16:43:33 UTC
Created attachment 1477312 [details]
not_started_working_5.9.4.4.png

Usecase working on Not started Plans state.

Comment 3 Yadnyawalk Tale 2018-08-20 16:44:22 UTC
Created attachment 1477313 [details]
completed_working_5.9.4.4.png

Usercase working with Completed Plans state.

Comment 4 Yadnyawalk Tale 2018-08-20 16:54:24 UTC
Created attachment 1477314 [details]
issue_5.9.4.4.mp4

Found issue is only fixed for Completed and Not started Plans section.
If you convert plan to archive plan after map deletion, fix will not work.
(It will work if there are already plans exists under completed or not started section and then you delete map and archive plan)

Steps to reproduce
==================
1. Create plan1 + map1, 
2. Move plan1 to completed state so we should get archive plan option 
(either migrate plan1 or fail plan1, both will give archive plan option) 
3. Delete map1
4. Archive plan1

This will shows empty state in Infrastructure Mappings section despite we have plan1 in archive plan page. From UI you will not find any way to access archive page directly, but you can to use workaround - create another map map2 and you will find that hidden plans displayed in plans section.

Marking bugzilla as FAILED_QA since it is not working wrt archive plans.
Checked on: 5.9.4.4.20180816162527_c00eb23

PS: Video (issue_5.9.4.4.mp4) attached for behavior.

Comment 5 Yadnyawalk Tale 2018-08-20 17:00:13 UTC
Expected behavior
==================
After deleting map1 and after archiving plan1, we should get archive plan in migration plans section which will shows plan1 is in archive plan page. (Currently it is not showing that!)

Comment 6 Brett Thurber 2018-08-20 20:19:48 UTC
(In reply to Yadnyawalk Tale from comment #5)
> Expected behavior
> ==================
> After deleting map1 and after archiving plan1, we should get archive plan in
> migration plans section which will shows plan1 is in archive plan page.
> (Currently it is not showing that!)

This is a stretch use case, not a blocker for 5.9.4.  Recommend moving this to an enhancement for 5.9.5.

Comment 7 dmetzger 2018-09-21 17:55:04 UTC
We need a separate BZ for the use in comment #6

Comment 8 Brett Thurber 2018-09-24 03:30:51 UTC
(In reply to dmetzger from comment #7)
> We need a separate BZ for the use in comment #6

Can you provide context on the additional BZ?

Comment 12 Yadnyawalk Tale 2018-10-08 10:09:20 UTC
As per Comment #5 and Comment #11, Comment #4 is stretched usecase so opening separate issue for this. Everything except this works perfectly fine with Completed Plans state (Comment #3).

Verified on: 5.9.5.0.20180927190514_e161d8f
Thanks folks!