Bug 1341608

Summary: Ethtool command is not supported on 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: high Docs Contact:
Priority: high    
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.5-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 18:00:42 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 none

Description mxie@redhat.com 2016-06-01 10:55:11 UTC
Created attachment 1163579 [details]
screenshot

Description of problem:
Ethtool command is not supported on 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 input conversion info interface,  left click eth0 on p2v client but found the light of physical machine's relevant network port will not flash 
4.Exit the p2v GUI interface and enter into p2v console mode, input the command about network indentify, it shows ethtool command is not support, pls refer to screenshot
#ethtool --identify eth0
ethtool:command not found


Actual results:
As above description

Expected results:
Network identify function works well on virt-p2v 
 

Additional info:

Comment 4 zhoujunqin 2016-06-22 10:30:38 UTC
I can reproduce this issue with build:
virt-p2v-1.32.4-3.el7.iso

Then try to verify this bug with new build:
virt-p2v-1.32.5-5.el7.iso

Steps:
1. Boot the source machine into p2v client via iso 
2. After virt-p2v client launched, press "Ctrl+Alt+F1[3,4,5,6]" switch to p2v console mode.
3. Input the command about network identify
# ethtool 
ethtool: bad command line argument(s)
For more information run ethtool -h

# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.187  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::5054:ff:febb:c424  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:bb:c4:24  txqueuelen 1000  (Ethernet)
        RX packets 863  bytes 50544 (49.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40  bytes 6817 (6.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 4  bytes 352 (352.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 352 (352.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ethtool lo

Settings for lo:
	Link detected: yes

Since command ethtool is added and it works well, move this bug from ON_QA to VERIFIED.

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