I've got a small test cluster with working stateless nodes. Recently I tried to add 2 more nodes and I can't get them to deploy the same stateless image. For some reason the tftp configuration files are getting touched when I run nodeset, but not changed to point to the correct boot images. They are staying with genesis boot images. I have tried various incarnations of nodeadd and nodediscover, always followed by a nodeset $nodename osimage=mycomputeimage The nodeset command will change /tftpboot/xcat/xnba/nodes/$nodename file for the working nodes and it updates the timestamp for the non-working nodes, but the file still points to the genesis boot images. Am I missing a step?

Here is my setup.
xCAT server:

[root@mgmt nodes]# cat /etc/redhat-release
CentOS release 6.4 (Final)

[root@mgmt nodes]# rpm -qa|grep -i xcat
ipmitool-xcat-1.8.11-3.x86_64
xCAT-buildkit-2.8.2-snap201307222332.noarch
xCAT-UI-2.8.2-snap201307222329.noarch
yaboot-xcat-1.3.17-rc1.noarch
xCAT-client-2.8.2-snap201307222328.noarch
xCAT-2.8.2-snap201307222333.x86_64
xCAT-genesis-base-x86_64-2.8-snap201305300347.noarch
perl-xCAT-2.8.2-snap201307222328.noarch
conserver-xcat-8.1.16-10.x86_64
xCAT-UI-deps-2.8-2.noarch
syslinux-xcat-3.86-2.noarch
xCAT-genesis-scripts-x86_64-2.8.2-snap201307222333.noarch
elilo-xcat-3.14-4.noarch
openslp-xcat-1.2.1-1.x86_64
xCAT-server-2.8.2-snap201307222328.noarch

[root@mgmt nodes]# lsdef -t osimage mycomputeimage
Object name: mycomputeimage
    exlist=/install/custom/netboot/centos/compute.exlist
    imagetype=linux
    osarch=x86_64
    osname=Linux
    osvers=centos6.3
    otherpkgdir=/install/post/otherpkgs/centos6.3/x86_64
    otherpkglist=/install/custom/netboot/centos/compute.otherpkgs.pkglist
    permission=755
    pkgdir=/install/centos6.3/x86_64
    pkglist=/install/custom/netboot/centos/compute.pkglist
    postbootscripts=configiba
    postinstall=/install/custom/netboot/centos/compute.postinstall
    postscripts=configiba,syncfiles
    profile=compute
    provmethod=netboot
    rootimgdir=/install/netboot/centos6.3/x86_64/compute
    synclists=/install/custom/netboot/centos/compute.synclist

This is a previously configured and currently working node:
[root@mgmt nodes]# lsdef compute004
Object name: compute004
    arch=x86_64
    bmc=compute004-bmc
    bmcport=0
    chain=runcmd=standby
    cons=ipmi
    currstate=netboot centos6.3-x86_64-compute
    groups=compute,ipmi,all
    initrd=xcat/osimage/mycomputeimage/initrd-stateless.gz
    installnic=eth0
    ip=172.17.8.4

kcmdline=imgurl=http://172.17.0.1:80//install/netboot/centos6.3/x86_64/compute/rootimg.gz XCAT=!myipfn!:3001 NODE=compute004 ifname=eth0:00:30:48:f2:87:c4 netdev=eth0 console=tty0 console=ttyS0,115200n8r
    kernel=xcat/osimage/mycomputeimage/kernel
    mac=00:30:48:f2:87:c4
    mgt=ipmi
    netboot=xnba
    nfsserver=172.17.0.1
    nodetype=osi
    ondiscover=nodediscover
    os=centos6.3
    otherinterfaces=compute004-bmc:172.17.32.4
    postbootscripts=otherpkgs,setroute

postscripts=syslog,remoteshell,syncfiles,setupntp,addexternalyum,configiba,orangefs,setroute
    power=ipmi
    primarynic=eth0
    profile=compute
    provmethod=mycomputeimage
    routenames=ct_gc,ct_gc_eth
    serialflow=hard
    serialport=0
    serialspeed=115200
    status=failed
    statustime=08-05-2013 16:49:52
    tftpserver=172.17.0.1
    updatestatus=synced
    updatestatustime=07-29-2013 15:36:16

This is one of the new nodes that isn't working:
[root@mgmt nodes]# lsdef compute084
Object name: compute084
    arch=x86_64
    chain=runcmd=standby
    currchain=runcmd=standby
    currstate=runcmd=standby
    groups=compute
    initrd=xcat/genesis.fs.x86_64.lzma
    installnic=eth0
    ip=172.17.8.84
    kcmdline=quiet xcatd=172.17.0.1:3001 destiny=runcmd=standby
    kernel=xcat/genesis.kernel.x86_64
    mac=00:25:90:19:92:52
    mgt=ipmi
    netboot=xnba
    nfsserver=172.17.0.1
    nodetype=osi
    ondiscover=nodediscover
    os=centos6.3
    otherinterfaces=compute084-bmc:172.17.32.84
    postbootscripts=otherpkgs,setroute

postscripts=syslog,remoteshell,syncfiles,setupntp,addexternalyum,configiba,orangefs,setroute
    primarynic=eth0
    profile=compute
    provmethod=mycomputeimage
    routenames=ct_gc,ct_gc_eth
    serial=P1715140
    status=booting
    statustime=08-07-2013 14:43:40
    supportedarchs=x86,x86_64
    switch=Binary file (standard input) matches
    switchport=Binary file (standard input) matches
    tftpserver=172.17.0.1

Let me know what else you want to see.

Thanks,
Mike Robbert
Colorado School of Mines

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to