Bug 1399813

Summary: Enabling biosdevname has not effect
Product: Red Hat Enterprise Linux 7 Reporter: David Jones <david.jones74>
Component: biosdevnameAssignee: Michal Sekletar <msekleta>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-31 14:36:59 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:

Description David Jones 2016-11-29 19:22:42 UTC
Description of problem:
I have a net-booted image created from RHEL 7.2 minimal, that boots via pxelinux. Because it's a minimal install, consistent interface naming is not enabled. Enabling it using the kernel parameters has no effect.


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


How reproducible:
Always


Steps to Reproduce:
1. Append "biosdevname=1 net.ifname=0" to the PXE kernel options
2. Boot the system from the image. 
3. Run "ip addr" to to check interface names. 

Actual results:
Interface names use "ethX" convention.

Expected results:
Interface names should follow biosdevname.


Additional info:

I've confirmed that biosdevname is installed, and am able to determine the "BIOS device" name using "biosdevname -d". 

I've confirmed that the kernel command line parameters are correct using "cat /proc/cmdline". 

The systemd-networkd service is being used to manage the network, and configure the interfaces. But there are no renaming rules.

Comment 2 Michal Sekletar 2016-12-05 13:56:14 UTC
I will need more data to determine why biosdevname naming scheme is not applied. sos_report would be ideal. If you can't attach sos_report, than gather at least output of the following tools: 

- biosdevname -d
- udevadm test --action=add /sys/class/net/eth0
- dmidecode
- lspci -vvv