Yuan Bai,
We do not have ifcfg-eth0 file because this way we can reboot a statelite node with the ârebootâ command. If you will have this file, wicked will stuck the shutdown process as soon as it tried to disable this interface.
Maybe this is related to the issue. I will try to check.
THX!
[http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif]
Gilad Berman
HPC Architect
Lenovo EMEA
[Phone]+972-52-2554262
[Email]***@lenovo.com<mailto:***@lenovo.com>
Lenovo.com <http://www.lenovo.com/>
Twitter<http://twitter.com/lenovo> | Facebook<http://www.facebook.com/lenovo> | Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> | Forums<http://forums.lenovo.com/>
[DCG-Hardware]
From: Yuan Y Bai [mailto:***@cn.ibm.com]
Sent: Tuesday, May 23, 2017 9:13 AM
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
Hi Gilad,
Since I cannot reproduce this Bcast address 0.0.0.0 during statelite provision, I think it is not directly caused by xCAT statelite provision.
Could you provide more information about this? So that we can do more investigation.
Could you give us node definition and ifcfg-eth0 file contents?
Best Regards
--------------------------------------------------
Yuan Bai (çœåª)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@cn.ibm.com<mailto:***@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
[Inactive hide details for Gilad Berman ---05/22/2017 02:36:13 PM---Yuan Bai, 1, Is eth0 your install nic? install nic is config]Gilad Berman ---05/22/2017 02:36:13 PM---Yuan Bai, 1, Is eth0 your install nic? install nic is configured by dhcp in xCAT, if eth0 is install
From: Gilad Berman <***@lenovo.com<mailto:***@lenovo.com>>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Date: 05/22/2017 02:36 PM
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
________________________________
Yuan Bai,
1, Is eth0 your install nic? install nic is configured by dhcp in xCAT, if eth0 is install nic, the bcast is not configured by xCAT directly, it should be calculated.
[gb] Eth0 is the install NIC. On other NICs configured by DHCP (in statefull install for example) I see the right bcast address.
Usually the bcast address is being configured automatically.
2, Is eth0 configured by scripts from xCAT? for example, do you use confignics or confignetwork scipts or etc to configure eth0?
If you using scripts in xCAT, could you tell me which scripts? I can look into it.
[gb] No scripts are used, anyway after boot there is not much can be done to this NIC because no
3, If you using other scripts to configure eth0, the following command may cause the bcast address as 0.0.0.0:
/sbin/ip link set eth0 down
/sbin/ip addr add 10.10.101.51/24 dev eth0
/sbin/ip link set eth0 up
You should use:
/sbin/ip addr add 10.10.101.51/24 broadcast 10.10.101.255 dev eth0
[gb] There is no issue with configuring the address manually after boot (ifconfig or ip), so we have a simple workaround. The reason I am trying to find the root course is because there might be some hidden issue that will hurt something else later. I am basically trying to understand why the bcast address is not being calculated and configured at boot time.
The only time this NIC is being configured is the boot time, after that, it is impossible to bring it down.
Any idea why in the first place there is no bcast? Any DHCP options that prevents it?
THX a lot!!!
[http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif]
Gilad Berman
HPC Architect
Lenovo EMEA
[Phone]+972-52-2554262
[Email]***@lenovo.com<mailto:***@lenovo.com>
Lenovo.com <http://www.lenovo.com/>
Twitter<http://twitter.com/lenovo> | Facebook<http://www.facebook.com/lenovo> | Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> | Forums<http://forums.lenovo.com/>
[DCG-Hardware]
From: Yuan Y Bai [mailto:***@cn.ibm.com]
Sent: Monday, May 22, 2017 9:21 AM
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
Sorry for mistake of eth1, should eth0 in previous mail.
/sbin/ip addr add 10.10.101.51/24 dev eth0
/sbin/ip link set eth0 up
You should use:
/sbin/ip addr add 10.10.101.51/24 broadcast 10.10.101.255 dev eth0
Best Regards
--------------------------------------------------
Yuan Bai (çœåª)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@cn.ibm.com<mailto:***@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
[Inactive hide details for "Yuan Y Bai" ---05/22/2017 02:18:54 PM---Hi Gilad, I provisioned sles12.2 statelite using xCAT, I can]"Yuan Y Bai" ---05/22/2017 02:18:54 PM---Hi Gilad, I provisioned sles12.2 statelite using xCAT, I cannot reproduce this Bcase
From: "Yuan Y Bai" <***@cn.ibm.com<mailto:***@cn.ibm.com>>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Date: 05/22/2017 02:18 PM
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
________________________________
Hi Gilad,
I provisioned sles12.2 statelite using xCAT, I cannot reproduce this Bcase adress 0.0.0.0 for install nic through provisioning.
I have following questions:
1, Is eth0 your install nic? install nic is configured by dhcp in xCAT, if eth0 is install nic, the bcast is not configured by xCAT directly, it should be calculated.
2, Is eth0 configured by scripts from xCAT? for example, do you use confignics or confignetwork scipts or etc to configure eth0?
If you using scripts in xCAT, could you tell me which scripts? I can look into it.
3, If you using other scripts to configure eth0, the following command may cause the bcast address as 0.0.0.0:
/sbin/ip link set eth0 down
/sbin/ip addr add 10.10.101.51/24 dev eth0
/sbin/ip link set eth0 up
You should use:
/sbin/ip addr add 10.10.101.51/24 broadcast 10.10.101.255 dev eth0
Best Regards
--------------------------------------------------
Yuan Bai (çœåª)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@cn.ibm.com<mailto:***@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
[Inactive hide details for "Yuan Y Bai" ---05/22/2017 10:55:37 AM---Hi Gilad, Thanks your information, let me try to reproduce i]"Yuan Y Bai" ---05/22/2017 10:55:37 AM---Hi Gilad, Thanks your information, let me try to reproduce it in my environment.
From: "Yuan Y Bai" <***@cn.ibm.com<mailto:***@cn.ibm.com>>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Date: 05/22/2017 10:55 AM
Subject: Re: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
________________________________
Hi Gilad,
Thanks your information, let me try to reproduce it in my environment.
Best Regards
--------------------------------------------------
Yuan Bai (çœåª)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: ***@cn.ibm.com<mailto:***@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
[Inactive hide details for Gilad Berman ---05/20/2017 04:06:14 AM---All, I am assuming many linux experts on this list, so since]Gilad Berman ---05/20/2017 04:06:14 AM---All, I am assuming many linux experts on this list, so since I am not sure this is purely xCAT issue
From: Gilad Berman <***@lenovo.com<mailto:***@lenovo.com>>
To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Date: 05/20/2017 04:06 AM
Subject: [xcat-user] Bcast address 0.0.0.0 Statelite deployment
________________________________
All,
I am assuming many linux experts on this list, so since I am not sure this is purely xCAT issue, any hints are more than welcome ð
In our statelite deployment the boot interface comes up with broadcast address of 0.0.0.0 â
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 6C:AE:8B:08:8E:03
inet addr:10.10.101.51 Bcast:0.0.0.0 Mask:255.255.255.0
âŠ.
The broadcast address can be setup easily with ifconfig eth0 broadcast. Eth1 boots with the right bcast address.
I wonder what could cause this issue, when seems there is no limitation on setting it.
OS is SLES12.2 and deployment method is statelite (statefull works as expected).
THX in advance!
[http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif]
Gilad Berman
HPC Architect
Lenovo EMEA
[Phone]+972-52-2554262
[Email]***@lenovo.com<mailto:***@lenovo.com>
Lenovo.com <http://www.lenovo.com/>
Twitter<http://twitter.com/lenovo> | Facebook<http://www.facebook.com/lenovo> | Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> | Forums<http://forums.lenovo.com/>
[DCG-Hardware]
------------------------------------------------------------------------------
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-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
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-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
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-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
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-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user