Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1364419

Summary: [virt-p2v]Failed to connect to conversion server while testing LSI-mpt2sas hardware which using bnx2x network driver
Product: Red Hat Enterprise Linux 7 Reporter: zhoujunqin <juzhou>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: mxie, mzhan, ptoscano, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: P2V
Fixed In Version: virt-p2v-1.32.6-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 18:03:24 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
png-1
none
png-2
none
cannot load fireware file bnx2x while booting none

Description zhoujunqin 2016-08-05 10:13:37 UTC
Created attachment 1187820 [details]
png-1

Description of problem:
Failed to connect to conversion server while testing LSI-mpt2sas hardware which using bnx2x network driver,
for virt-p2v cannot load bnx2x network driver.

Version-Release number of selected component (if applicable):
virt-v2v-1.32.6-4.el7.x86_64
libguestfs-1.32.6-4.el7.x86_64

virt-p2v-1.32.6-1.el7.iso

How reproducible:
100%

Steps to Reproduce:
Driver information:
Description         Type         Bus         Driver         Vendor ID         Device ID         Subsys Vendor ID         Subsys Device ID
NetXtreme II BCM57712 10 Gigabit Ethernet         NETWORK         pci         bnx2x         14e4         1662         1028         045f

1. Install rheL7.3-x86_64 on LSI-mpt2sas hardware which using bnx2x network driver.
   After installation finished, login rhel7.3 host, network works well, and check the enabled network's mac address.
   Then shut down.
2. Boot the source machine into p2v client via iso
3. Input correct conversion server ip/'User name'/'Password', then press the 'Test Connection' button.

Actual results:
1.
After 'Test Connection' finished, we get a ssh connection failed error.
ssh: connect to host 10.66.4.197 port 22: Network is unreachable
Details please see png-1

2.Then click XTerm, and run
# ifconfig -a
Result: No active network.

Then run
# ethtool -i eth0(used mac address in step1)
driver: bnx2x
version: 1.712.30-0
firmware-version: FFV7.4.8 bc 7.4.19 phy baa0.20a
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

# lsmod
Module                  Size   Used by

bnx2x                   74815   0

Result: No bnx2x module loaded, also try to load this driver by manual(# modprobe bnx2x) but get same result.  
        Details please see png-2.

Expected results:
virt-p2v iso should load bnx2x network driver successfully.

Additional info:
I cannot reproduce this issue on old version:
virt-p2v-1.28.1-1.51.3.el7.1.noarch.rpm

Comment 1 zhoujunqin 2016-08-05 10:14:54 UTC
Created attachment 1187821 [details]
png-2

Comment 2 zhoujunqin 2016-08-05 10:16:46 UTC
Created attachment 1187822 [details]
cannot load fireware file bnx2x while booting

Comment 4 Richard W.M. Jones 2016-08-05 13:56:10 UTC
Pino pointed out that the version of linux-firmware that we
are built against is too old to contain the required
firmware (bnx2x-e2-7.13.1.0.fw).

This is contained in more recent linux-firmware, eg:
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=506832

So we probably need a build override.

Comment 6 zhoujunqin 2016-08-08 03:56:04 UTC
Try to verify this bug with new build:
virt-p2v-1.32.6-5.el7.iso

Conversion server version:
qemu-kvm-rhev-2.6.0-19.el7.x86_64
virt-p2v-1.32.6-5.el7.noarch
virt-v2v-1.32.6-5.el7.x86_64
libguestfs-1.32.6-5.el7.x86_64

Steps:

1. Install rheL7.3-x86_64 on LSI-mpt2sas hardware which using bnx2x network driver.
   After installation finished, login rhel7.3 host, network works well, and check the enabled network's mac address.
   Then shut down.
2. Boot the source machine into p2v client via iso
3. Input correct conversion server ip/'User name'/'Password', then press the 'Test Connection' button.

Result:
1. 'Test Connection' finished with no error and can connect to conversion server successfully with info prompt and 'Next' button is enable.
Connected to the conversion server.
Press the 'Next' button to configure the conversion process.

2. Click 'XTerm' button and check 'eth0' is enabled now.

# ethtool -i eth0
driver: bnx2x
version: 1.712.30-0
firmware-version: FFV7.4.8 bc 7.4.19 phy baa0.20a
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

Since 'bnx2x' driver can be recognized by virt-p2v boot iso, move this bug from ON_QA to VERIFIED.

Comment 8 errata-xmlrpc 2016-11-03 18:03:24 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://rhn.redhat.com/errata/RHSA-2016-2576.html