2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-10 13:30:15 +00:00
Commit Graph

766 Commits

Author SHA1 Message Date
Mark Gurevich
fa86dd4fbb Use XML::LibXML::Simple instead of XML::Simple 2020-05-01 17:06:22 -04:00
Markus Hilger
36dd1d14db SLE15: Fix makenamed.conf 2020-01-15 18:29:29 +01:00
Mark Gurevich
2c5e727be7 Use . instead of source to source xcat.sh file 2019-06-17 11:25:03 -04:00
zet809
e960063253 Revert "Fix issue that site.master is not set" 2019-03-22 18:18:12 +08:00
yangsong
e56f768361 Merge pull request #6074 from zet809/fix_issue_miss_sitemaster
Fix issue that site.master is not set
2019-03-22 14:51:38 +08:00
Gᴏɴɢ Jie
8662b4925b Revert "[RH8] Revise xcatconfig, show warning message if `TLSv1' is used" 2019-03-15 00:01:27 +08:00
GONG Jie
05385f643c Show warning message if `TLSv1' is used 2019-03-14 14:03:31 +08:00
GONG Jie
240841483d Revise the warning messages 2019-03-13 18:09:57 +08:00
GONG Jie
cc5068b683 Show warning message when site.xcatsslversion has an value during upgrade 2019-03-13 17:24:52 +08:00
ertaozh
a56305ebeb Update warning message based on Victor's comments 2019-03-12 21:35:06 -04:00
ertaozh
d6b418bfb0 Fix issue that site.master is not set 2019-03-12 05:35:35 -04:00
Gᴏɴɢ Jie
59bc53f573 Set the default value of site.xcatsslversion to SSLv23:!SSLv2:!SSLv3:!TLSv1 (#6061)
* Set $extrasslargs{SSL_version} as "SSLv23:!SSLv2:!SSLv3:!TLSv1" by default

* Remove xcatsslversion related part in script xcatconfig
2019-03-11 17:40:53 +08:00
zet809
b53100a59f Merge pull request #5929 from xcat2/master
Merge master branch to rhels8 branch
2019-01-08 13:40:21 +08:00
bxuxa
cc6cb0f217 Clear key words for install status update log message (#5618)
- detect provisioning when updateing status to installing/netbooting
- consistent message format "xcat.updatestatus - ($node): changing status=($status)" (no need to log the time as syslog has the timestamp)
2018-11-27 15:19:21 +08:00
Gᴏɴɢ Jie
fc49f012e6 For the newly installed xCAT-core, set site.xcatsslversion to TLSv1_2 as the default setting (#5798) 2018-11-23 11:29:13 +08:00
yangsong
92c019bdb3 set default value for $::XCATSITEVALS{httpport} if site.httpport is not specified (#5780) 2018-11-09 15:28:17 +08:00
cxhong
fe33d7d98f Log Number of Nodes for xCAT command to command.log (#5729)
* Log Number of Nodes for chdef/mkdef/rmdef/lsdef/nodels command to
command.log

* Create a new tag for reponse object
2018-10-29 17:12:20 +08:00
Bin Xu
5fc4e7fad5 Enhancement for using site cache in plugin (#5535)
* site cache when run plugin does not work very well
- using cache from plugin when getNodesAttribs/getNodeAttribs (pass it into DB process from plugin process)
- Site cache is a whole hash, so to use cache when by the hash is there, instead of the specified key is there.
It is because that there might be no key defined in site table.

* with XCATBYPASS, to populate site hash before scan_plugins. Then only 1 query for site table to do whole things.

* cache site when init plugins on service nodes

* missing to comment the old codes query from xCAT DB process
2018-08-21 18:36:52 +08:00
GONG Jie
6ef9b2926d Remove trailing spaces in file xCAT-server/sbin/xcatd 2017-12-31 23:59:59 +00:00
GONG Jie
e0d60aee83 Remove trailing spaces in file xCAT-server/sbin/xcatconfig 2017-12-31 23:59:59 +00:00
GONG Jie
c2944b2a32 Remove trailing spaces in file xCAT-server/sbin/xcat_traphandler 2017-12-31 23:59:59 +00:00
GONG Jie
b3a43edf03 Remove trailing spaces in file xCAT-server/sbin/updateSNimage 2017-12-31 23:59:59 +00:00
GONG Jie
6a786b2d52 Remove trailing spaces in file xCAT-server/sbin/stopstartxcatd 2017-12-31 23:59:59 +00:00
GONG Jie
b2f7a36029 Remove trailing spaces in file xCAT-server/sbin/runsqlcmd 2017-12-31 23:59:59 +00:00
GONG Jie
9042da05ec Remove trailing spaces in file xCAT-server/sbin/runcmdinstaller 2017-12-31 23:59:59 +00:00
GONG Jie
315178c1e4 Remove trailing spaces in file xCAT-server/sbin/restartxcatd 2017-12-31 23:59:59 +00:00
GONG Jie
659678bfc1 Remove trailing spaces in file xCAT-server/sbin/makenamed.conf 2017-12-31 23:59:59 +00:00
GONG Jie
d0f943a342 Remove trailing spaces in file xCAT-server/sbin/chtab 2017-12-31 23:59:59 +00:00
robin2008
5e53fa6824 using execute binary of systemd to determine if systemd is enabled on this distro 2018-07-26 13:23:45 +08:00
Bin Xu
57bc7c1f57 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-07-23 17:31:50 +08:00
Bin Xu
20f64f4111 commands.log show the service node name (#5408) (#5409) 2018-07-23 17:28:52 +08: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
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
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
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
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -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