Hi,

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

]# tabdump nics
#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",,,,

# lsdef -t group compute
Object name: compute
    arch=x86_64
    hostnames=|maestro-(\d+)$|m($1)|
    members=maestro-1010
    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=centor8.1
    profile=cpu

# lsdef maestro-1010
Object name: maestro-1010
    arch=x86_64
    groups=compute
    hostnames=m1010
    nicaliases.ib0=m1010-ib0
<-------------------------------------looks correct
    nicextraparams.ib0=DEFROUTE=no
    nichostnamesuffixes.ib0=-ib0
    nicips.ib0=172.16.0.12
    nicnetworks.ib0=maestro_ipoib
    nictypes.ib0=Infiniband
    os=centor8.1
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    profile=cpu

which version of xcatd is running on your system?
check your compute group definition,  I didn't see compute group defined
nicaliases.ib0


Thanks,
Casandra

...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Thomas HUMMEL <thomas.hum...@pasteur.fr>
To:     xcat-user@lists.sourceforge.net
Date:   04/07/2020 11:11 AM
Subject:        [EXTERNAL] Re: [xcat-user] nics nicaliases and regexp



On 4/7/20 4:32 PM, Casandra H Qiu wrote:
> I mean this command : lsdef -t group compute(for the group definition)

Oh ok, sorry. Here it is (attached).


>
> anyway I can recreated this issue, looks like it may be broken since
> 2.15 release.

Ok.

Thanks

--
TH
[attachment "compute.stanza" deleted by Casandra H Qiu/Poughkeepsie/IBM]
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=wyOYcXtDtsLRbZYb5d0COmM4lnT7C1FWPBvg1aT5QnE&s=nXRO_K9FqvOEfwKWCdDss-UxyQIb4HDHgOWfB90QZnI&e=



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

Reply via email to