Bug 2036482

Summary: A nil pointer exception occurs during the image conversion stage
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.3.0CC: apinnick, fdupont, istein, rhoch
Target Milestone: ---Keywords: Regression
Target Release: 2.3.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: 2022-04-04 18:03:42 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
plan_13:56:24.yaml
none
plan.yaml
none
forklift-controller-main.log none

Description Maayan Hadasi 2022-01-02 13:58:09 UTC
Description of problem:
Forklift-controller pod crashes during the image conversion stage (no virt-v2v pod is created)
Tested with RHV and VMware providers

$ oc get pod
NAME                                                                       READY   STATUS      RESTARTS   AGE
importer-mtv-api-tests-22-02-01-15-43-04-547-plan-7b27230c-9b41-4ddkxnvh   0/1     Completed   0          14m

Error from forklift-controller log:
E0105 13:47:04.946212       1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)


Version-Release number of selected component (if applicable):
MTV 2.3.0-2 / iib:152391
CNV 4.9.1-58 / iib:144466


How reproducible:
100%


Attachments:
plan.yaml
forklift-controller main container log


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
The issue is not reproduced with MTV 2.2.0 GA

Comment 1 Maayan Hadasi 2022-01-02 13:58:53 UTC
Created attachment 1848575 [details]
plan_13:56:24.yaml

Comment 2 Maayan Hadasi 2022-01-06 08:31:15 UTC
Created attachment 1849186 [details]
plan.yaml

Comment 3 Maayan Hadasi 2022-01-06 08:32:43 UTC
Created attachment 1849187 [details]
forklift-controller-main.log

Comment 4 Maayan Hadasi 2022-01-06 11:50:59 UTC
Updating that this issue is reproducible on OCP/CNV 4.9 and OCP/CNV 4.10

Comment 5 Ilanit Stein 2022-01-25 16:13:45 UTC
Fixed in version MTV-2.3.0-12
v4.9:  iib:161586
v4.10: iib:161588

Comment 6 Ilanit Stein 2022-01-25 16:14:59 UTC
Verified on MTV-2.3.0-15.
A RHEL 7 cold migration from RHV to NFS or Ceph-RBD/block pass.

Comment 9 errata-xmlrpc 2022-04-04 18:03:42 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.3.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-2022:1183