Bug 2031529

Summary: VM migration is marked as succeeded when the VM resource is deleted during the image conversion stage
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: GeneralAssignee: Fabien Dupont <fdupont>
Status: CLOSED WONTFIX QA Contact: Maayan Hadasi <mguetta>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.2.0CC: apinnick, fdupont, istein, sbeskin
Target Milestone: ---   
Target Release: ---   
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: 2022-02-03 17:10:13 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:

Description Maayan Hadasi 2021-12-12 15:57:49 UTC
Description of problem:
If the migrated VM on CNV side is deleted during the image conversion stage - the VM migration has an error but does not fail


Version-Release number of selected component (if applicable):
MTV 2.2.0 GA


How reproducible:
100%


Steps to Reproduce:
1. Start a migration plan
2. Delete the VM on CNV side while the 'Convert image to kubevirt' step is running


Actual results:
The VM migration has SUCCEEDED


Expected results:
VM migration should fail, as well as the Migration Plan


Additional info:
When the migrated VM is deleted during the transfer disk stage - the VM migration fails as expected


Attachments:
MTV UI screenshot
Plan.yaml

Comment 3 Ilanit Stein 2022-01-26 08:00:45 UTC
There is a documentation bug 2031649 - A known issue in the RN MTV-2.2.

Comment 4 Ilanit Stein 2022-02-03 17:10:13 UTC
Closing as this is not a common scenario