Description of problem: ----------------------- When a canceled warm migration is restarted, 1)the UI shows that it is running a cutover. 2)Clicking on the plan doesn't show the precopy view, but shows the post cutover view instead.It shows that the migration is stuck at the 'Transfer disks' step after some data is copied. 3)At this point, the OCP console shows that migration is stuck at 10% with this message -CopyingPaused: Waiting for next warm import stage. If the cutover button is pressed, both the 'Transfer disks' and 'Convert image to kubevirt' steps complete. I'd expect the migration to progress like a regular warm migration. Version-Release number of selected component (if applicable): ------------------------------------------------------------- MTV 2.0.0-20 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Start a warm migration. 2.Cancel the warm migration. 3.Restart the warm migration Actual results: --------------- Expected results: ---------------- Additional info: ---------------
Attaching a copy of the Plan CR after starting a migration for the first time, when it displays in the UI that is running precopies (mturley-test-2-precopying.json) and a copy of the same plan after it has been canceled and restarted (mturley-test-2-retryingprecopy.json)
You can observe that the second copy of the plan CR has a `status.migration.completed` property (which is not in the first copy of the plan CR, it was added when the plan was canceled) and it is present even after the second migration starts. If that property is cleared when the retry migration starts, the UI bug should be fixed.
This is a pretty nasty one since you can't monitor precopies on the affected plan at all. Targeting for 2.0.0 if we can manage that?
https://github.com/konveyor/forklift-controller/pull/234
The fix should be part of build mtv-operator-bundle-container-2.0.0-4 / iib:72115.
Verified on mtv-operator-bundle-container-2.0.0-4
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