Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1340407 - Multiple network ports will not be aligned at p2v client
Summary: Multiple network ports will not be aligned at p2v client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.3
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On: 1340596
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-27 10:35 UTC by mxie@redhat.com
Modified: 2016-11-03 18:00 UTC (History)
5 users (show)

Fixed In Version: libguestfs-1.32.4-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 18:00:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
p2v_on_host (102.64 KB, image/png)
2016-05-27 10:35 UTC, mxie@redhat.com
no flags Details
p2v_on_guest (54.38 KB, image/png)
2016-05-27 10:36 UTC, mxie@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2576 0 normal SHIPPED_LIVE Moderate: libguestfs and virt-p2v security, bug fix, and enhancement update 2016-11-03 12:06:51 UTC

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


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