2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-03-29 13:23:30 +00:00
Commit Graph

1240 Commits

Author SHA1 Message Date
yangsong
7c85b0998d add support for syncfiles with scp (#5123)
* add support for syncfiles with scp

* refine logic of EXECTUTE support message non rsync filesync

* refine syncfiles

* add startsyncfile script for cumulus

* refine format, fix updatenode without options causes command to crash #5142
2018-04-27 11:28:08 +08:00
Victor Hu
e9c1a90786 Adding new options overrides for nvidia 2018-04-13 16:15:45 -04:00
Gᴏɴɢ Jie
dbe5557697 Change CUDA 9.2 installation document and example setup script for POWER 9 (#5074)
* Change cuda installation document for POWER 9

* Update the example script for CUDA setup on POWER 9

* Change CUDA installation document, ask user to use postscripts instead of postbootscripts

* Tweak the nvidia_patch.conf

* Redo initrd image for both diskless and diskfull compute node

* Fix typo
2018-04-12 17:19:28 +08:00
Matt Ezell
0560a81e41 Remove deprecated SSH option KeyRegenerationInterval from remoteshell (#4599) 2018-04-09 15:37:56 +08:00
Casandra Qiu
4240fd54c9 modify from review 2018-04-05 10:42:51 -04:00
Casandra Qiu
c9dc4439ec Add postscript to enable CAPI mode for mlnxofed 2018-04-05 09:39:56 -04:00
Casandra Qiu
302e80dc93 Add Image name/uuid/timestamp to /opt/xcat/xcatinfo 2018-04-03 15:34:12 -04:00
Casandra Qiu
c2373953d3 ADD NODE name to the /opt/xcat/xcatinfo for statelite image 2018-04-02 20:38:55 -04:00
GONG Jie
e87d3510f5 Script for doing extra setup steps for NVIDIA POWER9 CUDA driver on RHEL 7 2018-03-21 14:10:51 +08:00
Yuan Bai
fec0b8a75d Merge pull request #4551 from stanford-rc/mkresolvconf_ns
Use all name servers from site.nameservers in mkresolvconf
2018-03-06 14:38:48 +08:00
cxhong
a81b6e2728 Get xCAT MASTER from dhcpclient lease file for configinterface postscripts (#4834)
* Get MASTER from dhcp identifier for configinterface postscripts

* modify MASTER line
2018-02-23 10:42:42 +08:00
Yuan Bai
f06b0e09ea routeop: support remove GATEWAY from /etc/sysconfig/network (#4807)
* remove GATEWAY from /etc/sysconfig/network

* polished
2018-02-07 23:14:33 -06:00
Yuan Bai
bd6d3b266e Merge pull request #4803 from stanford-rc/routeop_default
routeop: support setting the default route on RHEL
2018-02-08 12:44:05 +08:00
Kilian Cavalotti
580c6bf5bd routeop: support setting the default route 2018-02-07 09:36:01 -08:00
Yuan Bai
2528631737 enhance setroute doc and routeop return code (#4798)
* enhance return code when error happen

* specify removing gateway from networks when configure static route
2018-02-06 01:59:59 -06:00
Yuan Bai
cb9ac0d4fb enhance confignetwork -s return code (#4789)
* enhance confignetwork -s return code

* restart nic when updatenode and postbootscripts

* enhance >/dev/null 2>&1

* polished
2018-02-06 00:57:54 -06:00
Bin Xu
78dbe4274b Missing some 'echo' when running updatenode, and put it back (#4706) 2018-01-23 21:51:47 -06:00
Bin Xu
cb25622331 It is for provision log enhancement and partial address #4582 (#4648)
- clear logs in the key components during provisioning (not only debug mode, but debug mode will have more logs)
 - now only cover rhel7 stateful and stateless
 - make more syslogs into cluster.log (tag = xcat or xcat.*)
 - the changes will not impact other distro
2018-01-23 03:20:42 -06:00
Bin Xu
c0074cf8ab Add the 'postbooting' status to indicate xCAT start to handle postboot tasks (#4346) (#4369)
- for diskful, it will be set when leaving 'booting' stage
 - for diskless, it will be set when leaving 'netbooting' stage
 - for diskful reboot, it will set when (site.runpostscript=1)
 - modify the document accordingly
 - also modify GlobalDef.pm, but it won't have impact as the status will not be in nodeset operation.
2018-01-19 02:39:11 -06:00
Sebastian Thorarensen
fc58a8e872 Do not comment out rsyslog /var/log/messages on MN (#4527)
Since commit 1219fdd23f, the rsyslog rule
"*.debug /var/log/messages" is no longer added to rsyslog.conf on the
MN. However, any rule ending with "/var/log/messages" is still commented
out. This leads to xCAT removing all output to /var/log/messages, except
for the daemon and ftp facilities that are enabled by
/etc/rsyslog.d/xcat-debug.conf!

This commit
 - stops commenting out rules ending with "/var/log/messages" in
   rsyslog.conf
 - stops adding adding the comment "#*.debug /var/log/messages" to
   rsyslog.conf
 - changes "daemon.debug" to "daemon.=debug" in xcat-debug.conf to avoid
   duplicate daemon log lines with most Linux distributions' default
   rsyslog.conf.

The 'ftp.* rule in xcat-debug.conf is possibly no longer needed, and
will lead to duplicate ftp messages with most distributions, but it is
left untouched in this commit.
2018-01-10 21:00:59 -06:00
Yuan Bai
1d916bff83 Merge pull request #4539 from stanford-rc/confignetwork_ignorebmc
ignore bmc interfaces defined in the nics table
2017-12-20 11:26:29 +08:00
Kilian Cavalotti
d743b26b29 mkresolvconf: avoid duplicate nameservers 2017-12-18 17:15:01 -08:00
Kilian Cavalotti
e2467dbf38 use all nameservers defined in site.nameservers 2017-12-18 11:44:01 -08:00
Kilian Cavalotti
f1b21d72a7 Use IP address of xcatmaster instead of hostname in resolv.conf (#4537) 2017-12-16 10:00:34 +08:00
Kilian Cavalotti
3e5f5e0b17 ignore bmc interfaces defined in the nics table (don't generate an error) 2017-12-15 10:04:02 -08:00
cxhong
b579154b80 NODE attribute didn't populate in /opt/xcat/xcatinfo after reboot (#4428)
* NODE attribute didn't populate in /opt/xcat/xcatinfo after reboot

* Get NODE from mypostscripts
2017-12-13 08:33:17 -06:00
Yuan Bai
e7e6b60215 Merge pull request #4453 from mattaezell/nicutils_multibond_bringup
Support multiple bonds on bring-up
2017-12-07 17:04:37 +08:00
cxhong
e501b26fd0 issues for install license file on accton switches (#4460) 2017-12-07 00:53:32 -06:00
Matt Ezell
4e4ef047ba Support multiple bonds on bring-up 2017-12-06 12:17:27 -05:00
Matt Ezell
a6c1300b34 Fix confignetwork bond nic_type detection with multiple bonds 2017-12-04 10:10:28 -05:00
yangsong
f5437609d4 do not set exit_code to 1 when the clock is not synced before the timeout (#4362) 2017-11-23 03:56:01 -06:00
cxhong
da7df78fd2 Add image name to /opt/xcat/xcatinfo on compute node (#4359) 2017-11-22 07:40:18 -06:00
cxhong
6f53cf1a0b Timeout the ntpd process if ntpd service is not running on ntpserver (#4321) 2017-11-16 20:34:27 -06:00
immarvin
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
Yuan Bai
c17f009187 enhance setroute error check and return code. (#4217)
* enhance setroute error check.
2017-11-07 14:29:55 +08:00
Matt Ezell
4b373a7244 Allow confignetwork to setup an IB bond 2017-11-06 21:35:11 -05:00
bybai
38bcab9dec fix vlan type 2017-10-31 03:14:32 -04:00
Victor Hu
c205aa5a71 Merge pull request #4184 from zet809/update_nvme_firmware
add the script to update nvme firmware
2017-10-30 10:41:36 -04:00
ertaozh
cc79123674 update script update_nvme_firmware based on Victor's comments 2017-10-30 09:15:42 -04:00
cxhong
6263ef39cd Add Node name to the /opt/xcat/xcatinfo for diskfull installation (#4190) 2017-10-26 21:28:52 -05:00
cxhong
1ab870788c Modify setupntp postscripts (#4144)
* Modify setupntp postscripts

* exit after modifed ntp.conf
2017-10-26 09:53:18 -05:00
ertaozh
116c651f7c add the script to update nvme firmware 2017-10-26 05:58:21 -04:00
Yuan Bai
2353abb48a support confignetwork to extend nictypes=unused (#4177)
* support confignetwork to extend nictypes=unused
2017-10-25 17:00:23 +08:00
cxhong
4a31081691 Merge pull request #4049 from mattaezell/cumulusntp
Update setupntp and call it from cumulusztp
2017-10-20 08:38:04 -04:00
immarvin
a954d6d2f2 fix issue 2017-10-19 23:25:52 -04:00
Yuan Bai
6e19ac5dc6 add --allownoip for confignetwork to ignore no nicips error (#4130) 2017-10-19 16:12:23 +08:00
Matt Ezell
9710163924 Update setupntp and call it from cumulusztp 2017-10-05 11:03:30 -04:00
cxhong
4864967d4a Merge pull request #4044 from whowutwut/mellanox_sample_postscripts
Include sample postscripts to help admins check firmware version and update mellanox adapter firmware
2017-10-04 16:04:05 -04:00
Victor Hu
6c01fed51c Create some sample postscripts that users can run to check
Mellanox OFED/Adapter firmware levels and update the adapter
firmware level independent on installing a new version of OFED
2017-10-03 12:00:54 -04:00
cxhong
f295689c22 Merge pull request #4005 from mattaezell/ztp_improvements
Improvements to Cumulus ZTP
2017-10-02 13:39:29 -04:00