Commit Graph

436 Commits

Author SHA1 Message Date
daniceexi
441261bb2f defect 2966: fixed the issue that xcat pid files were put in /tmp/xcat which would be cleaned periodically. now move it to /var/run/xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:09:00 +00:00
jjhua
5e5710ad4e If the timezone includes a space, the chtab command below will not work. fix it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 08:54:16 +00:00
daniceexi
df3f6b7ffb defect 3539473: disable the xcatdebug to be run on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:23:11 +00:00
lissav
1ad82ecc82 fix defect 3558575
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 19:08:09 +00:00
nott
affe91b7d3 fix check of client name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 14:14:18 +00:00
daniceexi
7cd9df23fb defect 3555500, supress the warning when run xcat command in XCATBYPASS mode. It only happens for sles11.sp2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:56:01 +00:00
zhaoertao
7fb346f9ae fix bug 3546270:rspconfig <cec> HMC_passwd=xxx output error message, for hierarchical environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:38:49 +00:00
lissav
321db70ad1 fix defect 3510989
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 18:51:30 +00:00
ligc
24a20072ff fix for bug 3524402: run chkconfig dhcpd on in xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 03:14:32 +00:00
lissav
ff4c96376c fix SF defect 3530574
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:24:03 +00:00
lissav
c7caefc2be fix SF defect 3393889
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:14:12 +00:00
jbjohnso
276f492fd9 Close some filehandles that aren't needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 21:11:07 +00:00
lissav
16f1ccd713 backout 3528566 , migration issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 10:58:07 +00:00
lissav
7f60717bda fix defect 3528566
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 17:38:27 +00:00
lissav
d589de6402 fix for defect 3527641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:04:36 +00:00
jbjohnso
3c0dd360f5 Fix problem where a memory address could inadvertently end up being an argument to sleep by
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 14:03:32 +00:00
jbjohnso
22b551750e Have NodeRange make more assurances that it will not be caching data upon explicit request
xcatd explicitly has noderange redo cache if client has a <noderange> element.  This distinguishes it from 'getpostscript' type commands.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:11:39 +00:00
daniceexi
1b14168c84 defect 3525895: roll back the last change. Use the XCATBYPASS to run the commands instead of waiting a while
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:25:49 +00:00
jbjohnso
413b5ce1f6 Switch xCAT server connection to client back toblocking IO for large segments of code depending on blocking io
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 19:45:01 +00:00
daniceexi
98e9f25aaf defect 3525895: check the status of xcatd before continuing in the xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 09:02:16 +00:00
jbjohnso
b163fdd290 Have xCAT instances more reliably relay abort commands and cleanly exit on ctrl-c by client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:06 +00:00
jbjohnso
bf88e7052f Correct problem where xcatd could truncate very large responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:02:06 +00:00
jbjohnso
9b4a8ccb52 Correct syntax problems in invoking fcntl calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 18:28:28 +00:00
jbjohnso
1db4ae7592 Fix problem where a bare newline could cause xcatd to be confused
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:52:35 +00:00
jbjohnso
adeef7b545 No longer bother trying to do 32-bit only x86 and ppc for genesis image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:24:11 +00:00
jbjohnso
3b3ce1f894 Pass 2 at correcting xcatd infinite patience with clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:36:54 +00:00
sjing
939d35a0fe the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:07:03 +00:00
jbjohnso
26bf6e2641 Have relay_fds work to try to batch more xml transformations together generically to improve execution time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 18:11:19 +00:00
jbjohnso
a4c4d6b1bb Remove leftover extraneous output from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:48:57 +00:00
jbjohnso
68e575a69d Have xcatd bulk xml transform 'unable to find plugin to handle' message to cut back server load'.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:48:44 +00:00
jbjohnso
01a0cec3e7 Avoid redundant calls to the same table to do plugin lookup during plugin_command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:29 +00:00
jbjohnso
dacd2690c4 Rework plugin_comand to use XCATSITEVALS instead of polling site table for select plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:15:21 +00:00
lissav
661484b4c1 Do not add otherpkgs for AIX defect 3508761
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:05:53 +00:00
jbjohnso
bd4af1093f Have xCAT more aggressively drain the listen queue on the main listening socket.
This change manages to have xCAT successfully field a large amount of incoming connections with a relatively small listen queue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 12:55:35 +00:00
jbjohnso
97f09d34d4 Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 18:37:57 +00:00
daniceexi
394a9e21aa fix the issue for xcatdebug:1. aix cannot recognize the signal NUM50,NUM51. 2. the xcatdeug -f does not work after the change that loading plugin when really running of command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 11:53:12 +00:00
jbjohnso
9538a08566 Have install monitor fall back to IPv4 resolution specific if the v6/v4 agnostic call fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 19:22:48 +00:00
jbjohnso
8d65490894 Have xCATd more clearly report when registering a plugin fails, also be resiliant to the situation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 16:21:27 +00:00
jbjohnso
ec0d7025aa Add the ability for site to tune the number of allowed SSL clients if needed.
also fix warning on new init strategy while I'm at it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-19 03:16:51 +00:00
jbjohnso
b460198863 Reduce memory usage of xCAT by about 66%
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 19:34:57 +00:00
lissav
b57b58e837 fix recursive listing of all /install breaks AIX on large systems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 11:11:23 +00:00
jbjohnso
f2fad48d34 Fix log messag on discover packet receipt
Also fix bmcsetup output to remove useless call

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-06 22:28:07 +00:00
jbjohnso
0bfa217540 Fixtypo in the preprocess_requst case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 17:51:51 +00:00
jbjohnso
416021e681 Put more useful messages in logging around discovery indicating failed discovery attempts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 17:37:47 +00:00
jbjohnso
f813d2e20f Take a stab at having xcatd itself filter out potentially circular preprocess_request invocations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-03 18:21:28 +00:00
jbjohnso
017a1526ed Add a feature for xCATd to delay subrequests as dictated by plugin preprocess_request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-31 14:19:53 +00:00
lissav
9d68902931 change check to handle regx in postscripts list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-03 19:45:17 +00:00
lissav
588d79236d remove xcatserver,xcatclient from PS table, now called in servicenode, when servicenode there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-20 10:53:50 +00:00
lissav
a7a08dbb33 On install Linux do not put xcatserver,xcatclient in postscripts table on servicenode. They are now called by servicenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-13 17:03:05 +00:00
lissav
143c5e7efb add ~.xcat directory to the snap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-06 14:55:17 +00:00