2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-11-07 14:40:42 +00:00
Commit Graph

1501 Commits

Author SHA1 Message Date
besawn
6a05cf1490 Merge pull request #6760 from gurevichmark/clusterstate_probe
Enable clusterstatus xcatprobe on Perl 5.23
2020-07-10 16:05:34 -04:00
besawn
08848a1b14 Merge pull request #6755 from cxhong/configeth
Lost DNS after run confignetwork -s postscripts
2020-07-10 16:03:47 -04:00
Mark Gurevich
bb09d801df Enable clusterstatus xcatprobe on Perl 5.23 2020-07-08 13:59:33 -04:00
cxhong
754af5ce39 Add dns to install nic 2020-06-30 16:57:52 -04:00
cxhong
28859192dd Do not modify install nic interface 2020-06-30 16:39:59 -04:00
Mark Gurevich
518259192d Merge pull request #6725 from cxhong/confignics
Remove confignics from xCAT documentation
2020-06-04 12:41:36 -04:00
cxhong
bd7ff51f6c Remove confignics for xCAT doc 2020-06-04 10:00:56 -04:00
besawn
5c7e54797e Merge pull request #6717 from cxhong/defaultroute
Fix duplicate entries in the ifcfg files
2020-06-04 09:11:33 -04:00
cxhong
b8dae1c4cd Merge pull request #6705 from Obihoernchen/nicutils-fixes
Multiple nicutils.sh fixes
2020-05-28 16:37:07 -04:00
cxhong
8394f0e1ee replace extra nic param instead of append 2020-05-20 14:41:32 -04:00
cxhong
97824433b4 Remove quoted XCATSERVER from xcatinfo 2020-05-15 10:33:00 -04:00
Markus Hilger
a274097b34 Do not set MTU for InfiniBand slaves
Slaves should have no MTU set. This should be set globally on the bond interface.
Furthermore, RHEL 8.0 does not correctly set the given MTU as shown below.
This breaks any IB bonds with non-default (2044) MTU.

$ # IB slave with 4092 MTU
$ nmcli con add type Infiniband con-name slave-ib1-mtu mtu 4092 ifname ib1 master ibbond0 slave-type bond
$ # IB slave without MTU
$ nmcli con add type Infiniband con-name slave-ib1-wo-mtu ifname ib1 master ibbond0 slave-type bond

$ # should be 4092, but is 2044 instead
$ nmcli -f infiniband.mtu con show slave-ib1-mtu
infiniband.mtu:                         2044

$ grep MTU /etc/sysconfig/network-scripts/ifcfg-slave-ib1-*
/etc/sysconfig/network-scripts/ifcfg-slave-ib1-mtu:MTU=2044

$ # is auto :)
$ nmcli -f infiniband.mtu con show slave-ib1-wo-mtu
infiniband.mtu:                         auto
2020-05-12 13:57:25 +02:00
Markus Hilger
097bf969d4 Configure bond IP even if there is a $next_nic but also $_ipaddr
Check for $_ipaddr instead of $next_nic.
The followint configuration is totally valid but fails with the old logic because it does not configure any bond0 IP because $next_nic is set to bond0.10.

    nictypes.eno1=Ethernet
    nictypes.eno2=Ethernet
    nicdevices.bond0=eno1|eno2
    nictypes.bond0=bond
    nicnetworks.bond0=management
    nicips.bond0=192.168.0.1
    nicdevices.bond0.10=bond0
    nictypes.bond0.10=vlan
    nicnetworks.bond0.10=production
    nicips.bond0.10=192.168.1.1

May needs some additional testing with bridges etc.
2020-05-12 13:22:06 +02:00
Markus Hilger
598a75fb86 Properly reset nic extra params
The global variables were not reset for bonds.
Therefore, the nic extra params from the first bond interface were used if the second one had no nic extra params.
2020-05-12 13:17:48 +02:00
Mark Gurevich
6743873e89 Use ext4 filesystem instead of ext3 2020-04-29 09:06:57 -04:00
Lachlan Simpson
8ed951b02d Minor documentation fixes: spelling, grammar; configib indentation 2020-03-05 09:36:14 +11:00
cxhong
0bbee180dd modify sed statement 2020-02-28 21:33:53 -05:00
cxhong
53587ae828 support multiple options for nicextraparams 2020-02-28 14:29:31 -05:00
cxhong
0a82606b55 keep /etc/dhcpd.conf file for makedhcp test case 2020-02-18 11:58:29 -05:00
cxhong
002d52a493 modify the postscripts to support SLE15 2020-02-17 17:17:16 -05:00
cxhong
acf2326bc6 Add slave_type for ethernet to bond interface 2020-02-06 17:21:05 -05:00
cxhong
5c62a2b49b Merge pull request #6557 from stanford-rc/configib
configib: pass NMCLI_USED from confignetwork instead of checking again
2020-02-05 15:58:59 -05:00
Kilian Cavalotti
54a2662c3c configib: pass NMCLI_USED from confignetwork instead of checking again 2020-01-31 15:03:15 -08:00
cxhong
a2543f8285 Failed to run otherpkgs for rhel8.1.0 service node 2020-01-27 15:44:40 -05:00
cxhong
2245b278fa Support otherpkgs as postbootscript for SLE15 2020-01-16 17:34:27 -05:00
cxhong
142c6d6492 support syslog for sle15 2020-01-16 16:32:38 -05:00
cxhong
3456d4dd98 Add SLE15 Hierarchy support for ppc64le 2020-01-16 16:07:31 -05:00
cxhong
9027a5b913 Merge pull request #5621 from jjohnson42/sle15stateless
SLE15 stateless support
2019-11-19 12:31:24 -05:00
Oriol Mula-Valls
5506a9e79b Fix indent, automatic generation of default configuration, simplified code 2019-10-03 09:27:58 +02:00
bybai
e071aa2b87 fix confignetwork confignetwork_installnic_2eth_bridge_br22_br33 failure 2019-05-16 23:36:17 -04:00
GONG Jie
0c8fc1521c Fix typo 2019-05-09 16:32:50 +08:00
GONG Jie
53f318113c Abort updatenode if the xCAT compute node is still in post-booting process 2019-05-09 16:22:03 +08:00
GONG Jie
929eb79ce7 Add a new return code 17, for activating 2019-05-09 16:21:47 +08:00
GONG Jie
b4d710e928 Add directory /etc/systemd/system/ to the systemd service search path 2019-05-09 16:21:36 +08:00
bybai
14c6042ca1 extend connection.autoconnect-retries for xcat nmcli connection 2019-05-08 22:49:00 -04:00
bybai
17732be50e extend nmcli autoconnect-retries and autoconnect-slaves instead of default value 2019-05-08 00:00:32 -04:00
bybai
131247e356 replace _port, use nic_name 2019-05-06 06:11:12 -04:00
bybai
df0cbdec91 add wait time to wait nmcli device ready 2019-05-06 05:50:17 -04:00
zet809
e42c5252b2 Merge pull request #6261 from bybai/cfg_alias
confignetwork need run twice when install NIC has multiple IPs
2019-04-29 17:38:46 +08:00
bybai
82078204d3 ./xCAT/postscripts/nicutils.sh 2019-04-29 05:41:00 -04:00
bybai
3bc96bf1d7 unify ifcfg-* names 2019-04-29 04:23:37 -04:00
Casandra H. Qiu
22e86f8d7d Filter out the http port from cumulus-provision-url 2019-04-28 20:23:28 -04:00
bybai
c6b322a6c3 confignetwork need run twice when install NIC has alias 2019-04-23 23:49:04 -04:00
GONG Jie
ca3251aaf1 Let makentp fall back to use ntpd when systemctl is not available. 2019-04-22 17:37:21 +08:00
Victor Hu
03bd6f3f24 Update the cuda setup script to account for difference in rhels 7.5 and 7.6 and some enhancements 2019-04-17 22:26:05 -04:00
zet809
e9c38e3693 Merge pull request #6214 from bybai/configib
configib support nmcli
2019-04-12 14:51:46 +08:00
bybai
d92f45a906 polished 2019-04-12 03:04:10 -04:00
bybai
8e343110c7 polishe 2019-04-12 02:29:23 -04:00
bybai
3f4c7431c5 polished 2019-04-11 05:07:50 -04:00
bybai
d8cb9b5b04 reduce if/else times 2019-04-11 04:48:33 -04:00