2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-16 19:34:18 +00:00
Commit Graph

612 Commits

Author SHA1 Message Date
huweihua ca782a9400 add /var/log/xcat/ to collect file list 2015-07-26 22:42:10 -04:00
WangXiaoPeng 921b7d5ea3 defect 4759: Fix the issue that ssl_listener used up all cpu. 2015-07-24 01:17:36 -04:00
Jarrod Johnson f00a23aa58 Ignore a dead UDP handler
If the UDP handler is killed (for some reason),
allow the SSL listener to continue.
2015-07-23 14:19:05 -04:00
immarvin fd62dadd02 fix defect 4727 [fvt]runcmdinstaller could not work on sles12; fix defect 4726 [fvt]2.10:ubruncmdinstaller could not work on untuntu; fix defect 4724 [fvt]2.10:runcmdinstaller should add -h options and man page 2015-07-07 22:56:31 -04:00
zhaoertao 81438d91d2 enhance of setting up certificate for docker host 2015-07-03 04:25:08 -04:00
GONG Jie ce9430d280 Fix sourceforge bug #4691 Use a consistent log tag for xCAT log 2015-07-02 14:58:53 +08:00
GONG Jie ca4437270a Fix sourceforge bug #4691 Use a consistent log tag for xCAT log 2015-07-01 18:03:36 +08:00
WangXiaoPeng 0827547cea fixed the issue that token expire time was one month ealier than the correct time 2015-06-18 04:15:21 -04:00
immarvin b32e78f0ed to facilitate the installation problem debuging, add the script that can send command to installer and receive the command output 2015-06-15 04:53:09 -04:00
ertaozh 7a1fb1afc3 fix hardware discovery issue that the findme request can be larger than 1500 bytes 2015-06-11 03:19:08 -04:00
Jarrod Johnson 6916b37234 Reduce communication between SSL and UDP
Previously, every TLS connection caused a communication with UDP
and this was bad.  Then every UDP connection caused a communication
and this was better.  This takes things a little further by only
doing the communication if there is a known interested party now.
2015-05-27 10:39:52 -04:00
Jarrod Johnson fdc408f270 Decrease forecast as presumed real clients connect
The fudge factor is now decremented according to real number of clients counted
toward sslclient count.  Also, have the overload case break into flow control
communication as well (though it wouldn't have a good answer for an interested client)
2015-05-27 10:35:10 -04:00
Jarrod Johnson 49c809e031 Reorganize UDP <-> SSL rework
Because SSL actually was relying upon accept() to hold indefininetly,
it would hang up the UDP worker indefinitely, blocking requests.
Fix this by driving the loop iteration through select() rather than
accept() and iterating through each file handle only when select()
says they are ready.
2015-05-27 10:23:37 -04:00
Jarrod Johnson 5e248b0b0d Rework traffic control to not involve UDP every SSL connection
If the UDP monitor was busy, the SSL connections could back up.
Rework it so that the UDP monitor would get hung up by the SSL
process instead, if *any* of them get backed up.  However, the
nature of the loop in the SSL client is sufficiently lightweight
that it shouldn't hang up the UDP process under any reasonable
circumstance.  If it did hang it up though, it'll be less hung up
than discovery does already.
2015-05-26 17:03:19 -04:00
WangXiaoPeng 71a764ed96 defect 4644: change in xcatd and Client.pm to fix two issues: 1. if the plugin process run certain command like 'omshell' dhcp.pm and which hang, this will cause the plugin process cannot be finished with ctrl^c; 2. the ctrl^c cannot be passed to service node. 2015-04-21 05:15:43 -04:00
mellor 85f758bd0d defect 4587 - fix xcatd msg for undefined variable: Use of uninitialized value $line in length 2015-03-09 13:56:47 -04:00
ligc 6c44423812 fix for bug 4458: check the return value from Table.pm::setAttribs 2014-03-06 09:14:41 +08:00
daniceexi b2eb57d072 Add default value for attribute site.xcatsslversion=TLSv1 to avoid using sslv3 which might cause POODLE Attach 2015-02-12 09:44:01 -05:00
Casandra Qiu ef1556e494 Fix the misuse of == to compare strings in perl 2015-02-05 12:04:42 -05:00
ertaozh 4dd21f1775 fix bug 4555: lsslp -s PBMC does not honor -n flag 2015-02-05 04:35:16 -05:00
mellor 874f77afed defect 4082 - change previous fix to disable warnings when calling setlogsock to work with older versions of perl too 2015-02-04 08:00:03 -05:00
mellor b34537ec2e defect 4529: send msg to install monitor process to reload perl modules when rescanplugins called 2015-01-21 16:08:34 -05:00
daniceexi ad68658c3c defect 4500: skip the PIPE signal when call xcatd->relay_fds() to receive messages from plugin processes 2014-12-29 02:47:43 -05:00
daniceexi 476f9f7b94 defect 4442: fix the issue in xcatd that new UDP won't exit with error message when it cannot get socket during the xcatd fast restart 2014-11-28 06:57:36 -05:00
ligc 607e2bd385 fix for bug 4399: on Ubuntu, disable isc-dhcp-server in upstart to avoid two dhcp server daemons, let xcat totally mangae dhcp server 2014-11-28 10:13:34 +08:00
ligc baa3edb3ca fix for bug 4372, set selinux be in permissive mode for RHEL 7 2013-11-26 16:49:09 +08:00
daniceexi 900963b1db defect 4375: fix the xcatd which has issue to receive request from xcatd which is longer than about 160,000 bytes 2014-11-20 07:08:36 -05:00
daniceexi 3a4cefe53b defect 4336,4352: in xcatd, for aix, make all the process (fix for udp process) to be stopped when received TERM singal from stopsrc command to the main process 2014-11-19 07:44:49 -05:00
ligc 3281a3d1c3 fix for bug 4404, systemctl import-environment does not work on RHEL 7, should use systemctl set-environment 2013-11-20 10:37:03 +08:00
daniceexi df970f4cb0 defect 4384: fix the issue that copycds command cannot be ctrl+c cleanly. The root cause was INT signal was not received by the plugin process after it sends out from relay_fds. The fix is to send both INT and TERM. TERM can be received in this case. 2014-11-13 03:24:33 -05:00
daniceexi 21d12983c9 Since xcatd fast restart cannot be supported in systemd enabled OS, we implemented fast restart in restartxcatd command 2014-11-11 12:18:58 -05:00
daniceexi f0b9cac61c defect 4304: fixed several things: 1. how to handle ctrl+c; 2. handle the plugin process cannot be stopped by TERM signal to process group SSL_Listener. (make the plugin process locate in the SSL_listener process group); 3. Make DB Access process exits later than in processing request. 2014-11-06 06:24:50 -05:00
ligc f101f97df4 fix for defect 4337, add TERM into the systemd through systemctl import-environment TERM 2013-10-31 13:23:19 +08:00
mellor 7e8c02bf07 defect 4304 - fixed some more interprocess communication problems 2014-10-22 17:20:07 -04:00
mellor 2511cebef8 defect 4284 - fixed xcatd attempt to write to broken pipe which caused DB processes to not get killed 2014-10-14 20:48:51 -04:00
zhaoertao aea40b0226 fix an issue about hardware discovery process: the sub process can not receive findme request immediately 2014-10-04 23:20:48 -07:00
mellor 3133cbeb3f 1. add xCAT depend on xcat-genesis-scripts, 2. fix mknb issue, 3. modify xcatconfig to call mknb <ppc64/x86_64> 2014-09-29 21:26:52 -07:00
mellor 4e008d7895 enhance for p8 hardware discovery 2014-09-26 03:54:52 -07:00
ligc 6a44ddea08 update xcatconfig to call mknb ppc64 on power 2013-09-26 14:51:52 +08:00
lissav 6c46d5b75d set default value for auditnosyslog on install and init DB 2014-09-12 07:29:09 -04:00
ligc 3e1316d9a6 fix for bug 4241: do not try to run mknb on ppc64 for now 2013-08-05 17:27:15 +08:00
mellor cea7f53e91 defect 4229 add new rescanplugins support to xcatd 2014-07-29 11:19:55 -04:00
ligc fc6536eb30 fix for bug 4150: modify xCAT-genesis-scripts.spec, xCAT-genesis-base.spec and xcatconfig to not run mknb twice during xcat installation/update 2014-07-27 22:43:38 -04:00
lissav ba99e7cef1 defect 4231 2014-07-21 12:48:42 -04:00
mellor d6a55aa3dd defect 4082 - disable warnings when calling setlogsock 2014-06-11 13:20:42 -04:00
immarvin 7c98f84c36 replace sysvinit with newly added subroutines in xCAT::Utils 2014-06-11 01:40:35 -07:00
immarvin 5fe158f353 replace service stuff with newly added subrotines in xCAT::Utils 2014-06-10 06:11:07 -07:00
immarvin 87afa435a3 replace the service stuff with new added generic routines 2014-06-08 08:25:01 -07:00
lissav 8564fec9d0 add new xcatconfig using timezone utility defect 4077 2014-04-30 12:09:41 -04:00
lissav a8a82224eb force a build 2014-04-08 14:35:15 -04:00