Bug 1851886

Summary: [CNV][V2V] VMWare pod is failing when running wizard to migrate from RHV
Product: Container Native Virtualization (CNV) Reporter: Igor Braginsky <ibragins>
Component: V2VAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 2.4.0CC: bthurber, cnv-qe-bugs, fdupont, istein, pkliczew, pvauter
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v2.4.0-18 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 19:10:39 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
Screenshot of an error
none
Log file of the pod none

Description Igor Braginsky 2020-06-29 10:18:06 UTC
Created attachment 1699112 [details]
Screenshot of an error

Description of problem:VMWare pod is failing when running wizard to migrate from RHV. Example of UI message:

back-off 40s restarting failed container=v2v-vmware pod=v2v-vmware-bbb4d9588-82gpv_igor-test(68b1c91b-6ff8-410f-b135-b2a3addb21ce). Please inspect a failing pod v2v-vmware

See attachments for a screenshot and logs


Version-Release number of selected component (if applicable):2.4.0


How reproducible: from time to time


Steps to Reproduce:
1. Run wizard
2. Take an existing RHV instance to migrate from
3. Select cluster, VM
4. Click `Next` button quickly, while VM details are loading 

Actual results:
One gets an exception


Expected results:



Additional info:

Comment 1 Igor Braginsky 2020-06-29 10:20:58 UTC
Created attachment 1699114 [details]
Log file of the pod

Comment 2 Ilanit Stein 2020-07-02 06:59:03 UTC
Apparently this bug is happening when trying to import a VM that has a nic,
but it's vnic profile is empty.

I have reproduced it.

Comment 3 Ilanit Stein 2020-07-02 07:16:09 UTC
After waiting couple of minutes the v2v-vmware pod that has crashed is lunched successfully.

Comment 4 Ilanit Stein 2020-07-08 14:52:51 UTC
Verified on CNV-2.4 from July 07.

VM import of a VM with nic that has an empty vnic profile is imported successfully, and not causing the v2v-vmware pod to crash.

Comment 7 errata-xmlrpc 2020-07-28 19:10:39 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, 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/RHSA-2020:3194