Bug 1662085

Summary: nic interface name is not consistent for dell systems
Product: Red Hat Enterprise Linux 8 Reporter: Ma Yuying <yuma>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 8.0CC: jsynacek, kazen, kzhang, qding, sbrivio, systemd-maint-list, xhe
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-02 11:13:14 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:

Description Ma Yuying 2018-12-26 05:42:32 UTC
Description of problem:
nic interface name is not consistent for dell systems

Version-Release number of selected component (if applicable):
kernel:4.18.0-56.el8.x86_64
distro: RHEL-8.0-20181218.0

How reproducible:
always

Steps to Reproduce:
1. bnxt_en with the same system dell-per730-14.rhts.eng.pek2.redhat.com
RHEL7.6 interface name: p2p1
[root@dell-per730-14 ~]# ethtool -i p2p1 
driver: bnxt_en
version: 1.9.1
firmware-version: 214.0.64.7
expansion-rom-version: 
bus-info: 0000:84:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no

RHEL8.0 interface name: enp132s0f0np0
[root@dell-per730-14 ~]# ethtool -i enp132s0f0np0
driver: bnxt_en
version: 1.9.1
firmware-version: 214.0.64.7
expansion-rom-version: 
bus-info: 0000:84:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no

2. qede with the same system dell-per730-20.rhts.eng.pek2.redhat.com:
RHEL7.6 interface name: p7p1
[root@dell-per730-20 ~]# uname -a
Linux dell-per730-20.rhts.eng.pek2.redhat.com 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-20 ~]# ethtool -i p7p1
driver: qede
version: 8.33.0.20
firmware-version: mfw 8.18.18.0 storm 8.33.11.0
expansion-rom-version: 
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: yes

RHEL8.0 interface name: enp5s0f0
[root@dell-per730-20 ~]# uname -a
Linux dell-per730-20.rhts.eng.pek2.redhat.com 4.18.0-56.el8.x86_64 #1 SMP Mon Dec 17 13:56:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-20 ~]# ethtool -i enp5s0f0
driver: qede
version: 8.33.0.20
firmware-version: mfw 8.18.18.0 storm 8.37.2.0
expansion-rom-version: 
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: yes


Actual results:
interface name is not consistent

Expected results:
interface name is consistent

Additional info:
distro is RHEL-8.0-20181218.0
[root@dell-per730-20 ~]# uname -a
Linux dell-per730-20.rhts.eng.pek2.redhat.com 4.18.0-56.el8.x86_64 #1 SMP Mon Dec 17 13:56:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Comment 2 Ma Yuying 2018-12-26 07:04:14 UTC
I tried to add biosdevname=1 on the kernel cmdline, it worked around the issue. But I guess there should be a better way to fix this issue, right?

system: dell-per730-20.rhts.eng.pek2.redhat.com
nic: qede
interface name is p7p1, same as RHEL7.6
[root@dell-per730-20 ~]# uname -a
Linux dell-per730-20.rhts.eng.pek2.redhat.com 4.18.0-56.el8.x86_64 #1 SMP Mon Dec 17 13:56:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-20 ~]# cat /proc/cmdline 
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-56.el8.x86_64 root=/dev/mapper/rhel_dell--per730--20-root ro intel_iommu=on ksdevice=bootif crashkernel=auto resume=/dev/mapper/rhel_dell--per730--20-swap rd.lvm.lv=rhel_dell-per730-20/root rd.lvm.lv=rhel_dell-per730-20/swap biosdevname=1 console=ttyS0,115200n81
[root@dell-per730-20 ~]# ethtool -i p7p1
driver: qede
version: 8.33.0.20
firmware-version: mfw 8.18.18.0 storm 8.37.2.0
expansion-rom-version: 
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: yes

Comment 3 Karl Hastings 2018-12-30 22:48:15 UTC
It is Dell's intent that biosdevname no longer be the default for RHEL 8:

https://bugzilla.redhat.com/show_bug.cgi?id=1623621#c18


On a fresh install, and without passing 'biosdevname=1' it is expected that the interface names will be different on RHEL 7 v. RHEL 8 on Dell EMC systems.

In RHEL 7, biosdevname naming was the default *only* for Dell systems.

For new installs of RHEL 8, systemd naming should be the default for *all* systems *unless* "biosdevname=1" is passed.

For upgrades from RHEL 7 to RHEL 8, we all want to make sure we don't disrupt customer's existing configuration.  But that seems to be deferred to the team doing the upgrade tool.

Comment 4 Jan Synacek 2019-01-02 11:13:14 UTC
This behaviour was explicitly requested by Dell, see comment 3.