On 07/07/2017 01:25 AM, Xiao Peng Wang wrote:
for this n042 node that the mac address has been discovered 'mac=0c:c4:7a:71:f6:ba' so I guess the discovery process has been done or this node was used before? If it was a an old node, please clean up the mac attribute and run 'nodeset n042 offline'. Could you check whether the mac is the node which you are trying to discover? And could you check the target node has been added in 'discoverydata' table? by running command 'tabdump discoverydata'.


Haaa yes, you're right, excellent.

So my "no nodes free" problem was because every time I specified the host MAC address in my "mkdef" command:

mkdef -t node -o spiro-n042-clu groups="all,ipmi,node-giga" arch=x86_64 mgt=ipmi bmc=172.30.192.56 mac=0c:c4:7a:71:f6:ba ip=172.30.240.56 provmethod="centos7.3-x86_64-node-giga"

As soon as I removed the MAC address, "nodediscoverstart" said:

nodediscoverstart -V noderange=n042
Sequential Discovery: Started:
    Number of free node names: 1

====================Free Nodes===================
NODE                HOST IP             BMC IP
spiro-n042-clu      172.30.240.56        172.30.192.56


But still if I look at the node console, it fails:

Jul 7 09:18:05 172.30.241.71 (none) xcat.genesis.doxcat: Running getdestiny --> 172.30.240.1:3001
Jul  7 09:18:25 172.30.241.71 (none)  xcat.genesis.doxcat: Received destiny=
Jul 7 09:18:25 172.30.241.71 (none) xcat.genesis.doxcat: The destiny=, destiny parameters= Jul 7 09:18:25 172.30.241.71 (none) xcat.genesis.doxcat: Unrecognized directive (dest=) Jul 7 09:18:31 172.30.241.71 (none) xcat.genesis.doxcat: ... Will retry xCAT in 90 seconds


I'll look into this next week.

Thanks.
Nicolas

Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
Manager for HPC SW Dev: xCAT, ESSL, SMI, Test
IBM China Systems Laboratory (CSL)

Tel: 86-10-82453455
Email: w...@cn.ibm.com

    ----- Original message -----
    From: Nicolas Roosen <nicolas.roo...@hpe.com>
    To: <xcat-user@lists.sourceforge.net>
    Cc:
    Subject: Re: [xcat-user] 回复: xcat.genesis.doxcat: Unrecognized
    directive (dest=)
    Date: Thu, Jul 6, 2017 11:34 PM
    Sure, here it is:

    Object name: n042
          arch=x86_64
          bmc=172.30.192.56
          bmcpassword=admin
          bmcport=0
          bmcusername=admin
          chain=runcmd=bmcsetup,osimage=centos7.3-x86_64-node-giga
          cons=ipmi
          groups=all,ipmi,node-giga
          installnic=mac
          ip=172.30.240.56
          mac=0c:c4:7a:71:f6:ba
          mgt=ipmi
          netboot=xnba
          nfsserver=172.30.240.1
          postbootscripts=otherpkgs
          postscripts=syslog,remoteshell,syncfiles
          primarynic=mac
          provmethod=centos7.3-x86_64-node-giga
          serialflow=hard
          serialport=1
          serialspeed=115200
          tftpdir=/tftpboot
          tftpserver=172.30.240.1
          xcatmaster=172.30.240.1

    If that matters the nodes I'm installing are x86_64 Supermicro servers.
    BIOS is set in "legacy" mode (*not* UEFI).

    Cheers.

    On 07/06/2017 05:04 PM, Xiao Peng Wang wrote:
     > Looks like the 'n042' is not a free node. Could you show out the node
     > definition by 'lsdef n042'? If you did not set hostip and bmcip
    for the
     > node definition. Could you use the parameter
    [hostiprange=imageprofile]
     > [bmciprange=bmciprange] for nodediscoverstart command?
     >
     > Best Regards
     >
    ----------------------------------------------------------------------
     > Wang Xiaopeng (王晓朋)
     > Manager for HPC SW Dev: xCAT, ESSL, SMI, Test
     > IBM China Systems Laboratory (CSL)
     >

    [...]

    --
    Nicolas

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to