Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute node interfaces always come up as eth0 #354

Closed
nirmalasrjn opened this issue Dec 8, 2016 · 7 comments
Closed

compute node interfaces always come up as eth0 #354

nirmalasrjn opened this issue Dec 8, 2016 · 7 comments
Milestone

Comments

@nirmalasrjn
Copy link
Contributor

Irrespective of what I specify in --netdev option in the wwnodescan command, the compute node interfaces are named as eth0 only. The wwsh node print command shows the interface as whatever we specify, be it em1 or eno1. (eno1.HWADDR, eno1.IPADDR etc). However when the node boots up, the message, "Checking for network device: en01 Skipped , Checking for network device: eth0 OK" is displayed.

@jmstover
Copy link

jmstover commented Dec 8, 2016 via email

@nirmalasrjn
Copy link
Contributor Author

Thanks for the prompt reply. Yes those arguments are available. While building the node image, I enabled the kernel options in the input file and put in the arguments as "net.ifnames=0 biosdevname=0". The kargs show up. Even then I face this issue. (c1: KARGS = "net.ifnames=0 biosdevname=0"). When I use the wwnodescan command to add nodes, the kargs is "quiet" only.

@jmstover
Copy link

jmstover commented Dec 8, 2016 via email

@nirmalasrjn
Copy link
Contributor Author

Hi Jason,
Setting kargs=quiet does not resolve this.
cat /proc/cmdline
BOOT_IMAGE=bootstrap/5/kernel ro initrd=bootstrap/5/initfs.gz wwhostname=c4 quiet wwmaster=172.36.0.1 wwipaddr=172.36.1.4 wwnetmask=255.255.0.0 wwnetdev=em1
The init script in warewulf bootstrap image looks for device name given in the netdev option but finds only eth0 in the configuration file. Is it because of hard coding of the interface name? Because I find the following line in /var/log/provision/config.log, "cp /tmp/ifcfg-eth0 /newroot/etc/sysconfig/network-scripts/ ".
Thank you

@QuackDoctor
Copy link

Hi Nirmala,
Did you get to resolve this issue?
Are these systems Broadwell based?
Thanks,

@koomie koomie added this to the 1.3 milestone Mar 24, 2017
@koomie
Copy link
Contributor

koomie commented Mar 24, 2017

With the 3.7pre version of WW that is planned to be used for the 1.3 release of OpenHPC, it is possible to use the newer naming scheme. Will plan on adding a tooltip for this.

@koomie
Copy link
Contributor

koomie commented Mar 31, 2017

The additional steps necessary have been added to the docs as follows when ${eth_provision} is defined with the newer name (e.g. en4s0f0):

[sms]# wwsh provision set "${compute_regex}" --kargs "net.ifnames=1,biosdevname=1" 
[sms]# wwsh provision set --postnetdown=1 "${compute_regex}"

@koomie koomie closed this as completed Mar 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants