Hi Yuan,

There are several other Ethernet devices that are undefined & do get removed 
(maybe removed is wrong, just not configured) whilst deploying & specifying in 
the postbootscripts :confignics -s -r

however ib0 gets a config file (but is not enabled) & that causes an error when 
the network service is loaded


tabdump shows:#

"host1",,,,,,,,"enp6s0f0!MTU=9000",,,,
"host2",,,,,,,,"enp6s0f0!MTU=9000",,,,
"host3",,,,,,,,"enp6s0f0!MTU=9000",,,,
"host4",,,,,,,,"enp6s0f0!MTU=9000",,,,



Kind Regards

________________________________
From: Yuan Y Bai <by...@cn.ibm.com>
Sent: 26 April 2018 09:00:46
To: xcat-user@lists.sourceforge.net
Cc: xcat-user@lists.sourceforge.net
Subject: Re: [xcat-user] confignics -s -r not removing ib0

Hi Javier,

`confignics -r` is only works in this scenario: If the compute node’s nics were 
configured by confignics and the nics configuration changed in the nics table, 
user the confignics -r to remove the undefined nic.

You can refer to doc: 
http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/diskless/customize_image/network/cfg_second_adapter.html?highlight=confignics#option-r-to-remove-the-undefined-nics


That means: IB interface should be configured by `confignics` at the beginning. 
When you delete IB interface from nics table, `confignics -r` should work.  
Could you use `tabdump nics` to check your nics table? If it does not work, 
could you open a issue and describe your steps ?


Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193


----- Original message -----
From: Javier Ron <j....@qmul.ac.uk>
To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] confignics -s -r not removing ib0
Date: Wed, Apr 25, 2018 11:07 PM


Hello,



I am hoping someone can help.

Deploying a host with xcat & the ib0 adapter config file is not being removed







running:

updatenode nodename -P 'confignics -s -r'



produces below output:



nodename: confignics on nodename: executed script: 'configib -r' to remove all 
ib nics and configuration files
nodename: nothing to do.





This is coming from the configib script, but does not remove the ib0 config 
file from network-scripts







#if $NIC_IBNICS is not defined, all ib nics' configuration files will be 
deleted.
if [ -z "$NIC_IBNICS" ]; then
    echo "nothing to do."
fi







------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=uiTcPxjMR44SPRNNb6l_nA&m=FoOFYlaQb0BtJ8KkH_cWfl4Ynz6Wyv0Pjfrk0puPvio&s=xB4XKQpBLsmZ3hgtqdE2MLm1OJV4BUznxXGFQXYSyZo&e=
_______________________________________________
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=uiTcPxjMR44SPRNNb6l_nA&m=FoOFYlaQb0BtJ8KkH_cWfl4Ynz6Wyv0Pjfrk0puPvio&s=ORiD3HOG1dcpJkg78mU3i20IIyUeKEaS1rvBcQeEbFU&e=


------------------------------------------------------------------------------
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