Another thing to try, still keeping interface unset as you have it now:
   chdef node1 installnic=mac primarynic=mac

That is the explicit text string 'mac'.  I'm not sure what xCAT tries to do
when you have those attrs set to actual mac values.

Also, after running nodeset, first
   tail /var/log/messages

I noticed that for me, I was not getting all nodeset error msgs displayed
to the screen for some reason, but they were getting posted to syslog.

Linda



From:   Dmitry Yulov <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   12/23/2013 10:49 PM
Subject:        Re: [xcat-user] error changing netif name 'eth2' to 'eth0':
            Device or resource busy



Hello,

Thanks but it didn't hel me :(
chdef node1 interface=""
1 object definitions have been created or modified.
# lsdef node1
Object name: node1
    arch=x86_64
    currstate=netboot SL6.3-x86_64-compute
    groups=all
    initrd=xcat/osimage/SL6.3-x86_64-netboot-compute/initrd-stateless.gz
    installnic= 00:21:90:2F:61:CE
    ip=172.21.22.71
    kcmdline=imgurl=
http://172.21.22.70:80//install/netboot/SL6.3/x86_64/compute/rootimg.gz
XCAT=!myipfn!:3001 NODE=node1 FC=yes ifname=eth0:00:21:90:2F:61:CE
netdev=eth0
    kernel=xcat/osimage/SL6.3-x86_64-netboot-compute/kernel
    mac=00:21:90:2F:61:CE
    netboot=pxe
    nfsserver=172.21.22.70
    nicips.ib0=192.168.1.2
    nicnetworks.ib0=ib0
    nictypes.ib0=Infiniband
    os=SL6.3
    postbootscripts=otherpkgs,configib,mkresolvconf
    postscripts=syslog,remoteshell,syncfiles,otherpkgs,confignics
--ibaports=1
    primarynic=00:21:90:2F:61:CE
    profile=compute
    provmethod=SL6.3-x86_64-netboot-compute
    status=booted
    statustime=12-23-2013 16:41:24
    tftpserver=172.21.22.70
    updatestatus=synced
    updatestatustime=12-23-2013 11:57:15

# nodeset node1 osimage=SL6.3-x86_64-netboot-compute

# lsdef node1
Object name: node1
    arch=x86_64
    currstate=netboot SL6.3-x86_64-compute
    groups=all
    initrd=xcat/osimage/SL6.3-x86_64-netboot-compute/initrd-stateless.gz
    installnic=00:21:90:2F:61:CE
    ip=172.21.22.71
    kcmdline=imgurl=
http://172.21.22.70:80//install/netboot/SL6.3/x86_64/compute/rootimg.gz
XCAT=!myipfn!:3001 NODE= node1 FC=yes ifname=00:21:90:2F:61:CE:
00:21:90:2F:61:CE netdev=00:21:90:2F:61:CE
    kernel=xcat/osimage/SL6.3-x86_64-netboot-compute/kernel
    mac= 00:21:90:2F:61:CE
    netboot=pxe
    nfsserver=172.21.22.70
    nicips.ib0=192.168.1.2
    nicnetworks.ib0=ib0
    nictypes.ib0=Infiniband
    os=SL6.3
    postbootscripts=otherpkgs,configib,mkresolvconf
    postscripts=syslog,remoteshell,syncfiles,otherpkgs,confignics
--ibaports=1
    primarynic= 00:21:90:2F:61:CE
    profile=compute
    provmethod=SL6.3-x86_64-netboot-compute
    status=booted
    statustime=12-23-2013 16:41:24
    tftpserver=172.21.22.70
    updatestatus=synced
    updatestatustime=12-23-2013 11:57:15

When node is booting I see on the screen:
dracut: FATAL : Invalid argument for ifname=


Bets Regards,
-- Dmitry


On 23 December 2013 23:02, Ling Gao <[email protected]> wrote:
  Can you make the interface blank?
  chdef node1interface=""  or manually go to the mac table and blank out
  the interface attribute for  node1. Then do nodeset again and redeploy
  the node. Hope it helps.

  Thanks,
  Ling

  Ling Gao
  Poughkeepsie Unix Development Lab
  IBM Systems and Technology Group
  Internal: T/L 293-5692
  External: [email protected], 845-433-5692

  "I never worry about the future. It comes soon enough." --- Albert
  Einstein



  From:        Dmitry Yulov <[email protected]>
  To:        [email protected],
  Date:        12/23/2013 01:47 PM
  Subject:        [xcat-user] error changing netif name 'eth2' to 'eth0':
  Device or        resource busy




  Hello,

  I am new in xCat, but can't fix the issue:

   error changing netif name 'eth2' to 'eth0': Device or resource busy


  Please help.

  What I have:

  1. xCAT-server-2.8.3-snap201311122316.noarch
  2. xCAT-2.8.3-snap201311122318.x86_64

  My installation config:

  # lsdef  node1
  Object name: node1
      arch=x86_64
      currstate=netboot SL6.3-x86_64-compute
      groups=all
      initrd=xcat/osimage/SL6.3-x86_64-netboot-compute/initrd-stateless.gz
      installnic=00:21:90:2F:61:CE
      interface=eth0
      ip=172.21.22.71
      kcmdline=imgurl=
  http://172.21.22.70:80//install/netboot/SL6.3/x86_64/compute/rootimg.gz
  XCAT=!myipfn!:3001 NODE=srvmpisnb02 FC=yes ifname=eth0:00:21:90:2F:61:CE
  netdev=eth0
      kernel=xcat/osimage/SL6.3-x86_64-netboot-compute/kernel
      mac=00:25:90:2F:68:CE
      netboot=pxe
      nfsserver=172.21.22.70
      nicips.ib0=192.168.1.2
      nicnetworks.ib0=ib0
      nictypes.ib0=Infiniband
      os=SL6.3
      postbootscripts=otherpkgs,configib,mkresolvconf
      postscripts=syslog,remoteshell,syncfiles,otherpkgs,confignics
  --ibaports=1
      primarynic=00:21:90:2F:61:CE
      profile=compute
      provmethod=SL6.3-x86_64-netboot-compute
      status=booted
      statustime=12-23-2013 16:41:24
      tftpserver=172.21.22.70
      updatestatus=synced
      updatestatustime=12-23-2013 11:57:15

  After getting os image and unpack I see next:

  COMPUTE NODE

  Dec 23 16:44:13 srvmpisnb02 udevd-work[1944]: error changing netif name
  'eth2' to 'eth0': Device or resource busy


  # ifconfig:

  eth2      Link encap:Ethernet  HWaddr 00:21:90:2F:61:CE
            inet addr:172.21.22.71  Bcast:172.21.22.255  Mask:255.255.255.0

            inet6 addr: fe80::225:90ff:fe2f:68ce/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:89540 errors:0 dropped:0 overruns:0 frame:0
            TX packets:9722 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:126985953 (121.1 MiB)  TX bytes:1012865 (989.1 KiB)
            Memory:df920000-df940000

  But in /etc/sysconfig/network-script I have ifcfg-eth0 only.

  # cat /etc/udev/rules.d/70-persistent-net.rules

  # PCI device 0x8086:0x1521 (igb)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR
  {address}=="00:25:90:2f:68:cc", ATTR{type}=="1", KERNEL=="eth*",
  NAME="eth0-renamed"

  # PCI device 0x8086:0x1521 (igb)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR
  {address}=="00:25:90:2f:68:cd", ATTR{type}=="1", KERNEL=="eth*",
  NAME="eth1"

  # PCI device 0x8086:0x1521 (igb) (custom name provided by external tool)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR
  {address}=="00:21:90:2F:61:CE", ATTR{type}=="1", KERNEL=="eth*",
  NAME="eth0"
  ------------------------------------------------------------------------------

  Rapidly troubleshoot problems before they affect your business. Most IT
  organizations don't have a clear picture of how application performance
  affects their revenue. With AppDynamics, you get 100% visibility into
  your
  Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
  Pro!
  http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


  ------------------------------------------------------------------------------

  Rapidly troubleshoot problems before they affect your business. Most IT
  organizations don't have a clear picture of how application performance
  affects their revenue. With AppDynamics, you get 100% visibility into
  your
  Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
  Pro!
  http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to