Bug 2036482 - A nil pointer exception occurs during the image conversion stage
Summary: A nil pointer exception occurs during the image conversion stage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: General
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.3.0
Assignee: Sam Lucidi
QA Contact: Maayan Hadasi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-02 13:58 UTC by Maayan Hadasi
Modified: 2022-04-04 18:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-04 18:03:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
plan_13:56:24.yaml (4.75 KB, text/plain)
2022-01-02 13:58 UTC, Maayan Hadasi
no flags Details
plan.yaml (4.70 KB, text/plain)
2022-01-06 08:31 UTC, Maayan Hadasi
no flags Details
forklift-controller-main.log (19.41 KB, text/plain)
2022-01-06 08:32 UTC, Maayan Hadasi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github konveyor forklift-controller pull 405 0 None open Bug 2036482: Retrieve PVCs when listing VMs and DVs 2022-01-17 18:44:42 UTC
Red Hat Product Errata RHEA-2022:1183 0 None None None 2022-04-04 18:03:51 UTC

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


Note You need to log in before you can comment on or make changes to this bug.