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 1340407

Summary: Multiple network ports will not be aligned at p2v client
Product: Red Hat Enterprise Linux 7 Reporter: mxie <mxie>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: juzhou, mzhan, ptoscano, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: P2V
Fixed In Version: libguestfs-1.32.4-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 18:00:18 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:
Bug Depends On: 1340596    
Bug Blocks:    
Attachments:
Description Flags
p2v_on_host
none
p2v_on_guest none

Description mxie@redhat.com 2016-05-27 10:35:57 UTC
Created attachment 1162415 [details]
p2v_on_host

Description of problem:
Multiple network ports will not be aligned at p2v client


Version-Release number of selected component (if applicable):
virt-p2v-1.32.4-1.el7.iso


How reproducible:
100%

Steps to Reproduce:
1.Boot the source machine into p2v client via iso
2.Input the ip and password of conversion server
3.At the inputting conversion info interface, check the network info at Network Interfaces
4.After checking, found the emulex ports which belongs to Emulex iscsi OCe11102-IM 10Gb card are not aligned with other network ports, pls refer to screenshot"p2v_on_host"
5.I also try to reproduce the problem on a guest which has multiple network, the network ports also not be aligned.pls refer to screenshot"p2v_on_guest"



Actual results:
As above description

Expected results:
Although it is a small problem. it looks not neat. Aligning the network ports is better
 

Additional info:
The problem also exists on virt-p2v-1.28.1-1.51.3.el7.1

Comment 1 mxie@redhat.com 2016-05-27 10:36:28 UTC
Created attachment 1162416 [details]
p2v_on_guest

Comment 2 Richard W.M. Jones 2016-05-27 12:22:36 UTC
Fix sent upstream:
https://github.com/libguestfs/libguestfs/commit/a90343f1e9daf2d4cc8dd34a80521bc1e1b0eddd

(I fixed a few other alignment issues of the same sort).

Comment 3 Richard W.M. Jones 2016-05-28 10:45:15 UTC
Can't build the live CD because of bug 1340596.

Comment 7 keanli 2016-06-15 07:18:39 UTC
I can reproduce it with build:
virt-p2v-1.32.4-1.el7.iso

Verify it with build
virt-p2v-1.32.5-2.el7.iso

Setup:
Make sure the machine has multiple network(at least 4) with different model
For this testing is: rtl8139 and e1000

Steps:
1.Boot the source machine into p2v client via iso
2.Input the correct ip and password of conversion server
3.At the inputting conversion info interface, check the network info at Network Interfaces
4.After checking, all network port is aligned well

As above result, the bug has been fixed.So move it to VERIFIED

Comment 8 zhoujunqin 2016-06-27 10:28:51 UTC
Try verify with new build again and add more steps:
virt-p2v-1.32.5-6.el7.iso

Setup:
Scenario-1 Test with a virtual machine with at least 4 nics:2 rtl8139 + 1 virtio + 1 e1000

Steps:
1. Add p2v iso file to guest then let guest boot from cdrom.
2. After virt-p2v client window pop up
3. Input the correct ip and password of conversion server
4. At the inputting conversion info interface, check the network info at Network Interfaces
5. After checking, all network port is aligned well.


Scenario-2 Test with a physical machine which have several networks

1.Boot the source machine into p2v client via iso
2.Input the ip and password of conversion server
3.At the inputting conversion info interface, check the network info at Network Interfaces
4.After checking, all network port is aligned well.

So keep this it in VERIFIED status.

Comment 10 errata-xmlrpc 2016-11-03 18:00:18 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