Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1961891

Summary: Incorrect status for migrated VMs during a warm migration retry
Product: Migration Toolkit for Virtualization Reporter: Nandini Chandra <nachandr>
Component: GeneralAssignee: Fabien Dupont <fdupont>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.0.0CC: apinnick, dagur, fdupont, istein, mturley
Target Milestone: ---   
Target Release: 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-10 17:12:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of precopy view of migrated VM during a warm migration retry none

Description Nandini Chandra 2021-05-18 23:06:50 UTC
Created attachment 1784637 [details]
screenshot of precopy view of migrated VM during a warm migration retry

Description of problem:
----------------------
During a warm migration retry, the MTV UI shows incorrect status for VMs migrated successfully in the first run.

In the attached screenshot, the 'nachandr-ssh' VM migrated successfully in the first run.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
MTV 2.0.0-16 


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Create a warm migration plan with multiple VMs
2.Cancel a few VMs, let the other VMs migrate successfully
3.Restart the plan in order to migrate the VMs canceled in step 2.


Actual results:
---------------
1.Only the canceled VMs are migrated on the restarted run, like expected.
2.While on the precopy view, UI shows that precopies are in progress for  canceled VMs, like expected. However, the UI also lists precopies for VMs already migrated in the first run and shows this message 'Next incremental precopy will start in <x> minutes. This is confusing and would cause the user to think that the VMs are being migrated in the retry run. 


Expected results:
----------------
One option would be replace the 'Next incremental precopy will start in <x> minutes' message with 'Complete'.


Additional info:
----------------

Comment 1 Mike Turley 2021-05-20 00:01:15 UTC
Nandini, can you share cluster info where this is happening?

Comment 2 Mike Turley 2021-05-20 00:01:50 UTC
Scratch that last comment, I forgot I had it drafted when setting the target release.

Comment 5 Nandini Chandra 2021-05-21 20:50:28 UTC
Verified on MTV 2.0.0-19

Comment 8 errata-xmlrpc 2021-06-10 17:12:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (MTV 2.0.0 images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:2381