On 4/16/20 9:45 PM, Casandra H Qiu wrote:
Hi,

I tried your definition on xcat 2.15.1 leases, and seems working for nicaliases.

Hello,


which version of xcatd is running on your system?

I think I first experienced the issue with 2.15.0 but now I upgraded to 2.15.1 and it seems to persist.

check your compute group definition, I didn't see compute group defined *nicaliases.ib0*

Sorry it's because since it didn't work for me I just removed it from my running configuration and I just copy/pasted the field for the mail. But it was there for the actual test.

Here's a test I did a few minutes ago :

#node,nicips,nichostnamesuffixes,nichostnameprefixes,nictypes,niccustomscripts,nicnetworks,nicaliases,nicextraparams,nicdevices,nicsadapter,comments,disable
"compute","ib0!|maestro-(\d+)$|172.16.($1/250-$1/250/2-2).($1%250+2)|","ib0!-ib0",,"ib0!Infiniband",,"ib0!maestro_ipoib","ib0!|maestro-(\d+)$|m($1)-ib0|","ib0!DEFROUTE=no",,,,

-> nics.nicaliases is here with the same regexp as in hosts (see below)

#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,mtu,comments,disable
"campus","157.99.101.0","255.255.255.0","eth1","<xcatmaster>",,"<xcatmaster>",,,,,,,,,,,"1500",,
"maestro_net","192.168.144.0","255.255.240.0","eth0","192.168.144.1",,"<xcatmaster>",,,,"192.168.144.2-192.168.147.254",,,,,,"maestro.pasteur.fr","1500",,
"maestro_ipmi","10.7.96.0","255.255.248.0",,"10.7.96.1",,,,,,,,,,,,,"1500",,
"maestro_ipoib","172.16.0.0","255.255.248.0",,,,,,,,,,,,,,,"1500",,

#node,ip,hostnames,otherinterfaces,comments,disable
"compute","|maestro-(\d+)$|192.168.(150+$1/250-$1/250/2).($1%250+2)|","|maestro-(\d+)$|m($1)|",,"192.168.152.0/21 (192.168.152.1 - 192.168.159.254)",

# lsdef -t group compute
Object name: compute
    arch=x86_64

chain=runcmd=bmcsetup,runimage=http://maestro-xcat/install/runimage/stage0.tgz,runimage=http://maestro-xcat/install/runimage/stage1.tgz,runimage=http://maestro-xcat/install/runimage/stage2.tgz,osimage=netboot-cpu-centos8.1
    hostnames=|maestro-(\d+)$|m($1)|
    ip=|maestro-(\d+)$|192.168.(150+$1/250-$1/250/2).($1%250+2)|

members=maestro-1010,maestro-1012,maestro-1013,maestro-1014,maestro-1015,maestro-1016,maestro-1017,maestro-1018,maestro-1019,maestro-1020,maestro-1021,maestro-1022,maestro-1023,maestro-1024,maestro-1025,maestro-1026,maestro-1027,maestro-1028,maestro-1029,maestro-1030,maestro-1031,maestro-1032,maestro-1033,maestro-1034,maestro-1035,maestro-1036,maestro-1037,maestro-1038,maestro-1039,maestro-1040,maestro-1041,maestro-1042,maestro-1043,maestro-1000,maestro-1001,maestro-1003,maestro-1004,maestro-1005,maestro-1006,maestro-1007,maestro-1008,maestro-1011,maestro-1002
    nicaliases.ib0=|maestro-(\d+)$|m($1)-ib0|
    nicextraparams.ib0=DEFROUTE=no
    nichostnamesuffixes.ib0=-ib0
    nicips.ib0=|maestro-(\d+)$|172.16.($1/250-$1/250/2-2).($1%250+2)|
    nicnetworks.ib0=maestro_ipoib
    nictypes.ib0=Infiniband
    os=centos8.1
    profile=cpu
    provmethod=netboot-cpu-centos8.1
    supportedarchs=x86,x86_64

# host m1000
m1000.maestro.pasteur.fr is an alias for maestro-1000.maestro.pasteur.fr.
maestro-1000.maestro.pasteur.fr has address 192.168.152.2
# host maestro-1000-ib0
maestro-1000-ib0.maestro.pasteur.fr has address 172.16.0.2
# host m1000-ib0
Host m1000-ib0 not found: 3(NXDOMAIN)

-> alias for ib0 does not seem to have been created
# lsdef -t node maestro-1000
Object name: maestro-1000
addkcmdline=ipv6.disable=1 rd.driver.blacklist=nouveau nouveau.modeset=0 console=tty0 console=ttyS0,115200n8 reboot=triple nofb nomodeset
    arch=x86_64
    bmc=10.7.96.2
    bmcport=0
    bmcvlantag=736

chain=runcmd=bmcsetup,runimage=http://maestro-xcat/install/runimage/stage0.tgz,runimage=http://maestro-xcat/install/runimage/stage1.tgz,runimage=http://maestro-xcat/install/runimage/stage2.tgz,osimage=netboot-cpu-centos8.1
    consoleenabled=1
    cpucount=96
    cputype=AMD EPYC 7552 48-Core Processor
    currchain=osimage=netboot-cpu-centos8.1
    currstate=netboot rhels8.1-x86_64-cpu
    groups=compute,rome,standard,compute_ipmi,ipmi,slurm,maestro
    hostnames=m1000
    ip=192.168.152.2
    mac=ac:1f:6b:c8:ee:1a
    memory=515902MB
    mgt=ipmi
    mtm=Supermicro:AS -2124BT-HNTR
    netboot=xnba
    nfsserver=maestro-xcat
    nicaliases.ib0=m1000-ib0
    nicextraparams.ib0=DEFROUTE=no
    nichostnamesuffixes.ib0=-ib0
    nicips.ib0=172.16.0.2
    nicnetworks.ib0=maestro_ipoib
    nictypes.ib0=Infiniband
    os=rhels8.1
    postbootscripts=otherpkgs
    postscripts=syslog,syncfiles
    profile=cpu
    provmethod=netboot-cpu-centos8.1
    serial=S386345X0213782B
    serialport=1
    serialspeed=115200
    status=booted
    statustime=04-14-2020 21:32:30
    supportedarchs=x86,x86_64
    switch=b16d1.dc1.pasteur.fr
    switchport=1
    tftpserver=maestro-xcat
    updatestatus=synced
    updatestatustime=04-07-2020 18:22:22


Thanks for your help.

--
Thomas HUMMEL


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to