Bug 1594428

Summary: [upstream][v2v] Not all vm's appear in completed migration plan request details page
Product: Red Hat CloudForms Management Engine Reporter: Kedar Kulkarni <kkulkarn>
Component: UI - OPSAssignee: Brett Thurber <bthurber>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: bthurber, cpelland, hkataria, jprause, kkulkarn, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.10.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1601586 (view as bug list) Environment:
Last Closed: 2019-02-11 14:05:21 UTC Type: Bug
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:    
Bug Blocks: 1601586    
Attachments:
Description Flags
Screenshot1
none
Screenshot2 none

Description Kedar Kulkarni 2018-06-22 22:28:03 UTC
Description of problem:
I ran a migration plan with 3 VMs, 1 VM migrated and 2 failed to migrate. 
Then I looked at the "Completed Plans" list, I could see a message "1 of 3 VMs successfully migrated." as shown in screenshot1. 
Then I retried the plan, and it failed again. So, I went to details Page, and saw only 2 VMs listed as per screenshot2. 

This is wrong, and user should be able to see all 3 VMs, if the message reads "1 of 3 VMs migrated". Otherwise this creates inconsistency between "Completed Plans" list and "Migration Request Details Page". Compare Screenshot 1 and 2.

Version-Release number of selected component (if applicable):
master.20180621230811_8e109d6

How reproducible:
100%

Steps to Reproduce:
1.Using 1 migration plan, multiple VMs, such that at least 1 VM would succeed and other would fail.
2.Retry migration plan.
3.

Actual results:
See description above and screenshots attached.

Expected results:
user should be able to see all 3 VMs, if the message reads "1 of 3 VMs migrated". Otherwise this creates inconsistency between "Completed Plans" list and "Migration Request Details Page". Compare Screenshot 1 and 2.

Additional info:

Comment 2 Kedar Kulkarni 2018-06-22 22:29:00 UTC
Created attachment 1453861 [details]
Screenshot1

Comment 3 Kedar Kulkarni 2018-06-22 22:29:17 UTC
Created attachment 1453862 [details]
Screenshot2

Comment 8 Brett Thurber 2018-07-16 15:31:13 UTC
PR is now merged.  https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/468

Moving to Post.

Comment 10 Kedar Kulkarni 2018-07-23 18:57:41 UTC
on 5.10.0.4.20180712211305_e6e4542, I could see that all VM's appear in migration request details page, including VMs that were previously migrated successfully and VMs that are being retried currently.