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

Bug 2012732

Summary: "Plan" CR does not update status for precopy stage of warm migration
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: GeneralAssignee: Sam Lucidi <slucidi>
Status: CLOSED ERRATA QA Contact: Maayan Hadasi <mguetta>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.2.0CC: amastbau, apinnick, fdupont, istein
Target Milestone: ---Keywords: Regression
Target Release: 2.2.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-12-09 19:20:58 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
warm_precopy_bug none

Description Maayan Hadasi 2021-10-11 07:39:45 UTC
Created attachment 1831744 [details]
warm_precopy_bug

Description of problem:
During warm migration, Warm.successes value in Plan CR is 0 after a completed precopy
In UI the precopy status stays 'Copying data' (please see attached screenshots)
On VMware side, a snapshot is taken.


$ oc describe plan mig-plan-warm
...
      Warm:
        Consecutive Failures:  0
        Failures:              0
        Next Precopy At:       2021-10-11T09:48:42Z
        Precopies:
          Completed:    2021-10-11T06:47:19Z
          Snapshot:     snapshot-7858
          Started:      2021-10-11T06:41:02Z
          Completed:    2021-10-11T07:48:00Z
          Snapshot:     snapshot-7863
          Started:      2021-10-11T07:47:33Z
          Completed:    2021-10-11T08:48:42Z
          Snapshot:     snapshot-7865
          Started:      2021-10-11T08:48:14Z
        Successes:      0
  Observed Generation:  1
Events:
  Type    Reason  Age   From  Message
  ----    ------  ----  ----  -------
  Normal  Ready   172m  plan  The migration plan is ready.


Version-Release number of selected component (if applicable):
MTV 2.2.0-39 / iib: 121326
CNV 4.9.0-232 / iib: 117863


How reproducible:
100%


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Once pressing on Cutover - warm migration is ended successfully

Comment 3 Fabien Dupont 2021-10-20 09:18:54 UTC
Please verify with mtv-operator-bundle-2.0.0-57 / iib:126435, or later.

Comment 4 Amos Mastbaum 2021-10-20 14:21:42 UTC
PLan cr yam http://pastebin.test.redhat.com/1002756

Comment 5 Maayan Hadasi 2021-10-20 14:39:31 UTC
Verified as fixed.

Versions:
MTV 2.2.0-57 / iib: 126435
CNV 4.9.0-249 / iib: 122549

Comment 8 errata-xmlrpc 2021-12-09 19:20:58 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.2.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:5066