Bug 814529

Summary: Include biosdevname support in RHEV-Hypervisor ISO
Product: [Retired] oVirt Reporter: Charles Rose <charles_rose>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dyasny, fdeutsch, gouyang, jboggs, leiwang, martinez, mburns, mgoldboi, moli, notting, ovirt-bugs, ovirt-maint
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.4.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 813239 Environment:
Last Closed: 2012-06-14 13:35:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Charles Rose 2012-04-20 05:10:52 UTC
1. Feature Overview:
a) Name of feature:
       Include biosdevname support in RHEV-Hypervisor ISO
b) Feature Description:
       RHEL 6.1 and later ship with biosdevname support for consistent naming of ethernet devices. We would like the same functionality on RHEV-Hypervisor which as of version 3.0 ships without biosdevname. 
       
Upstream acceptance information:
       ovirt-node-2.2.0 and new naming on Dell PowerEdge servers were found to be working by adding the biosdevname package to common-pkgs in the recipe.
e) External links:
       http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
       http://linux.dell.com/files/whitepaper/consistent_network_device_naming_in_linux.pdf

Comment 1 Charles Rose 2012-04-20 05:14:56 UTC
Quick check of "eth" name dependencies in ovirt-2.3.0 reveals these hard coded eth names.

1. collectd.conf.in:        Interface "eth0"

2. ovirt-config-boot:                    netroot=iscsi:$OVIRT_ISCSI_TARGET_IP::$OVIRT_ISCSI_TARGET_PORT::$OVIRT_ISCSI_NODE_NAME ip=eth0:dhcp"

3. network.py:            brctl_cmd = "brctl show|grep breth|awk '{print $1}'"
ovirt-config-networking:    for i in `brctl show | grep breth | awk '{print $1}'`

4. ovirt-init-functions.sh:        DEVICE=eth0
ovirt-init-functions.sh:                eth*)
ovirt-init-functions.sh:                for eth in $(cd /sys/class/net; echo eth*); do
ovirt-init-functions.sh:                bootif=$(grep -il $(echo $i|sed 's/-/:/g') /sys/class/net/eth*/address|rev|cut -d/ -f2|rev)