2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-06-17 00:50:44 +00:00
Commit Graph

756 Commits

Author SHA1 Message Date
Bin Xu 45bffd257d Add a default systemd unit file based on the auto-generated one from SysV (#5394)
* Add a default systemd unit file based on the auto-generated one from SysV

* modify the xcatd testcase when using systemd
2018-08-10 15:01:04 -04:00
Jarrod Johnson af41ca947c Merge tag '2.14.2' into lenovobuild2.14
xCAT 2.14.2 release
2018-08-08 17:56:37 -04:00
xuweibj 8209b449c6 delete change policy table by xcat 2018-07-06 04:46:25 -04:00
xuweibj 45a602bdf6 update hwinv table by updatenode -P geinv 2018-07-05 03:29:51 -04:00
Jarrod Johnson 4da0a96066 Merge branch 'lenovobuild2.14' of github.com:jjohnson42/xcat-core into lenovobuild2.14 2018-06-06 14:23:17 -04:00
Jarrod Johnson 295757c8ef Tighten some security parameters 2018-06-06 14:23:04 -04:00
Bin Xu 1c1eace773 Recording the Severity of log message into xCAT logs (#5267)
- modify rsyslog conf and add "%syslogseverity-text:::uppercase%" to input the text Severity
 - remove duplicate Severity in log message
 - modify MsgUtils::trace for better performance and code structure
2018-06-05 17:57:55 +08:00
Casandra Qiu adb1cafa43 modify message 2018-06-01 11:28:25 -04:00
Jarrod Johnson 3bbfafad4d Merge tag '2.14.1' into lenovobuild2.14
xCAT 2.14.1  release
2018-06-01 09:51:20 -04:00
Casandra Qiu bcf0b4a7b8 Modified message 2018-05-30 21:27:00 -04:00
Casandra Qiu d49664ea31 Add WARNING message if non-root user runs chtab command 2018-05-30 13:41:25 -04:00
yangsbj 3460a6915c * log the size of packets received by udp listener 2018-05-28 05:24:52 -04:00
Casandra Qiu 558d5b173f Increase packet size of recv() 2018-05-24 13:11:38 -04:00
robin2008 4ab66ee717 Fix the issue #5153: there are several xcatd SSL process remaining
- make sure $pid_UDP is set to zero when UDP process quit in CHLD handler
 - disable the signal handler for CHLD in the end of SSL lister, and make itself to handle reaper via `wait`
2018-05-18 16:33:28 +08:00
Jarrod Johnson 4fa468920d Merge branch '2.14.0' into lenovobuild2.14 2018-05-16 15:41:38 -04:00
Mark Gurevich f56a57b924 Merge pull request #5180 from robin2008/xcatsnap-rsyslog
add rsyslog configration files to xcatsnap
2018-05-09 14:51:32 -04:00
Mark Gurevich 2361cda1f2 Man and usage updates for chtab and tabch commands 2018-05-08 13:34:17 -04:00
robin2008 cde37a25de add rsyslog configration files to xcatsnap 2018-05-08 17:27:43 +08:00
Jarrod Johnson 08eeb04725 Correct name of the staging variable for command log 2018-04-19 14:38:15 -04:00
Jarrod Johnson 9d318cca76 Freshen up redacted output 2018-04-19 14:04:38 -04:00
Jarrod Johnson 7a06672320 Redact commands.log responses 2018-04-19 13:12:31 -04:00
Mark Gurevich 4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Jarrod Johnson 3c927fba0f Change to redact rather than omit arguments 2018-04-17 20:52:52 -04:00
Jarrod Johnson 42f6e9f74a Remove arguments from commands.log
The arguments may contain sensitive information, remove it.
2018-04-17 16:20:24 -04:00
Mark Gurevich 4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
Yuan Bai 17793bc364 delete password from log for runsqlcmd (#5075) 2018-04-10 16:36:00 +08:00
Bin Xu df93416a91 Avoiding error log for installmonitor requesting during provisioning (#5069)
* (#5067) to avoid error log for `installmonitor` requesting during provisioning

*  add 2 sec timeout as others for unsupport requesting
2018-04-09 17:40:38 +08:00
zet809 bc1de0529c Merge pull request #5015 from robin2008/install-monitor-cache
clear "name-IP" cache in `install monitor` process
2018-03-27 17:59:07 +08:00
Bin Xu 372756a6ad (#4913) clear cache before run 'nodeset <> next' to avoid using the old IP address
after IP address is modified.
2018-03-27 17:46:19 +08:00
Yuan Bai 24c2cb751f Merge pull request #5017 from robin2008/xcatsnap
(#4973) add journal logs in xcatsnap for xcatd
2018-03-27 17:05:55 +08:00
Bin Xu cb4edc2bc1 Fix the issue 'install monitor' exit unexpected and SSL CPU 100% (#4582, #4496) (#5005)
* Fix the issue 'install monitor' exit unexpected (#4582).
- add eval block to cover all possible codes which might die in do_installm_service
- add more logs in install monitor to record useful inforamtion
- add sleep 0.01 to avoid CPU too high
- fix the wrong timeout usage (alarm - die)
- recover the default INT/TERM singal handler to avoid UDP listener will quick when kill 'install monitor'

* Avoid SSL CPU 100% when hit max open file number
2018-03-27 17:02:38 +08:00
Bin Xu d6a45d9398 (#4973) add journal logs in xcatsnap for xcatd 2018-03-27 16:32:01 +08:00
Jarrod Johnson e16cea2688 Merge tag '2.13.11' into lenovobuild2.13
xCAT 2.13.11 release
2018-03-26 10:49:04 -04: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
Matt Ezell c9c98b8b6f Add warning when xCAT throttles SSL connections 2017-12-05 14:29:29 -05:00
Jarrod Johnson 6c2459731b Merge tag '2.13.8' into lenovobuild2.13
xCAT 2.13.8  release
2017-11-28 14:01:03 -05:00
Bin Xu f9a1ef15cb Fix #4288, Show the milliseconds for elapsed time of command execution (#4290) 2017-11-13 23:41:56 -06:00
hu-weihua 784250e0bd add getopenbmccons to commands.log 's filter list 2017-10-25 02:19:50 -04:00
Jarrod Johnson 4f5883f8fe Have xCAT version check ignore build date 2017-10-18 09:40:22 -04:00
Jarrod Johnson 5148747ff6 Do not check conserver version without conserver 2017-10-12 13:34:59 -04:00
immarvin 7515be4590 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3054 instead of 3001 to run debug commands inside installer 2017-10-12 01:55:20 -04:00
immarvin 35d299f9d6 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3004 instead of 3001 to run debug commands inside installer 2017-10-11 04:21:01 -04:00
Jarrod Johnson f3f41848ae Merge tag '2.13.7' into lenovobuild2.13
xCAT 2.13.7 release
2017-09-27 15:52:44 -04:00
yangsong ce61cadbd5 fix issue MN and SN version mismatch checking prevent hard block of functions from executing. #3849 (#3852) 2017-09-06 13:14:47 +08:00
chenglch 00d947a1fa Fix the bug due to the race condition about the pipe usage (#3719)
This commit disable the ACK mechanism in xCATd as now it will cause the race condition
if multiple child processes are waiting for the response.

fix-issue: #3698
2017-08-24 17:20:11 +08:00
immarvin 39c4e7081f fix issue xCAT install failed on sles11.4 & rhels6.9 in automation #3693;move send_tcp_msg from Utils.pm to NetworkUtils.pm 2017-08-17 03:35:03 -04:00
immarvin 021e873704 notify the nodes which are sending findme requestd about the status of the processing 2017-08-15 03:58:44 -04:00
ertaozh 818fd8d5a3 fix issue 3617 2017-08-07 02:23:39 -04:00
Bin Xu 405ed14a20 Leverage syscall to resolve the hang in CI environment 2017-08-02 15:33:42 +08:00
Bin Xu 6aadfc2055 Fix 3474, introduce 'XCATSHOWSVR' to control whether to show where the message is from. 2017-07-27 16:08:14 +08:00