Bug 1592956

Summary: [v2v] Migration plan retry success doesn't update the number of successful VMs migrated
Product: Red Hat CloudForms Management Engine Reporter: Brett Thurber <bthurber>
Component: UI - OPSAssignee: Brett Thurber <bthurber>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: akarve, bthurber, cpelland, hkataria, jprause, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1599863 (view as bug list) Environment:
Last Closed: 2019-02-11 14:07:38 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: 1599863    

Description Brett Thurber 2018-06-19 16:36:53 UTC
Description of problem:
Migration plan retry success doesn't update the number of successful VMs migrated

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

How reproducible:
Everytime

Steps to Reproduce:
1. Migration plan as VM migration failures
2. Click Retry and upon success, VMs successfully migrated doesn't increment
3.

Actual results:
Click Retry and upon success, VMs successfully migrated doesn't increment

Expected results:
Click Retry and upon success, VMs successfully migrated increments

Additional info:

Comment 4 Kedar Kulkarni 2018-06-29 15:53:23 UTC
in 5.9.3.3 this does not seem to be fixed.

Comment 6 Brett Thurber 2018-07-03 21:02:24 UTC
Confirmed still exists in 5.9.3.4.  Will be backported to 5.9.4.  @Sudhir, OK to move to post as the upstream issue has been closed and awaiting verification?  It is fixed in the latest MiQ nightly.

Comment 7 Sudhir Mallamprabhakara 2018-07-09 12:51:00 UTC
QE Verified the scenario in 0625 upstream build. Please move this to POST.

- Sudhir

Comment 10 Aparna Karve 2018-07-09 22:04:32 UTC
Also, 

https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/468

Comment 12 Kedar Kulkarni 2018-07-23 19:10:03 UTC
On 5.10.0.4 I could see that the number of successful VMs migrated count is reflecting correct after retrying the failed migrations.

For example, 
if a migration plan had 2 VMs and only one migrated, it said:

1 of 2 VMs migrated successfully, 

I retried it and migrations count reflected to say:

2 of 2 VMs migrated successfully

after the retried migration was finished.