Menu

#1020 no ifcfg-eth0(installnic) on statelite nodes

v2.4
closed
8
2012-09-19
2010-04-02
No

When statelite nodes booting, I found no ifcfg-eth0 file in /etc/sysconfig/network/, eth0 is in install/rnetboot network.
c941f1ap01:~ # ls /etc/sysconfig/network/
config if-up.d/ ifcfg-lo providers/
dhcp ifcfg-ib0 ifcfg.template routes
if-down.d/ ifcfg-ib1 ifroute-lo scripts/
c941f1ap01:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:5E:A6:37:40
inet addr:9.114.119.1 Bcast:9.114.119.63 Mask:255.255.255.192
inet6 addr: fe80::221:5eff:fea6:3740/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:106701 errors:0 dropped:0 overruns:0 frame:0
TX packets:43587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1600846614 (1526.6 Mb) TX bytes:107666453 (102.6 Mb)

That may lead some commads like "rcnetwork restart" make eth0 down forever, and user must rnetboot the node to get it back. Please impove here, and one suggest is to copy the eth0 configure file to the root fs before chroot.

Discussion

  • yan feng han

    yan feng han - 2010-04-06

    Min Jun,
    I ran into another issue I think led by this defect too, it is the routes in /etc/sysconfig/network/routes couldn't be set up if no any network interface configuration files found in /etc/sysconfig/network/. I have let you and Ling help check the route issue on c941f1ap04 last week and we thought it not a xcat issue, but at last I figured out it is because we have not a ifcfg-X file in the 04 node, so the /etc/sysconfig/network/ scripts sles11 using to set up interfaces and routes will not set up routes if it can't find any ifcfg-X files. I tried running "/etc/sysconfig/network/ start" after the node booted, and the route couldn't be added yet, while after I added ifcfg-eth0 file by hand and ran /etc/sysconfig/network/ start, the route could be added.

    I think missing of the ifcfg-eth0 file will lead other important issue related with network such as ifdown/ifup failure, so I will increase the priority of this defect.

     
  • minjun xi

    minjun xi - 2010-04-06

    fixed;

     
MongoDB Logo MongoDB