416 Commits

Author SHA1 Message Date
jbjohnso
75d37c0a6f Revert "Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected"
This reverts commit 293f2194c6fe119e71e3c053c3894748a44f9e7e.

Doing it a better way

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:35 +00:00
jbjohnso
5d38b453ef Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 18:36:52 +00:00
jbjohnso
bab318526c Have xcatd accept multiple requests in a single connection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 14:35:29 +00:00
bp-sawyers
d242ae9f30 Removed expect dependency
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
sjing
cb66289972 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/trunk@12321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:06:12 +00:00
arifali
c55553e5df xcat-server: fix enable apache2 for ubuntu/debian when xcat is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 22:33:11 +00:00
jbjohnso
f2eb40b81c 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/trunk@11993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 18:10:48 +00:00
jbjohnso
663d5cf3d1 Remove leftover extraneous output from xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:40 +00:00
jbjohnso
13fd08ee8d 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/trunk@11987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:27 +00:00
jbjohnso
e4cb55b3f9 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/trunk@11986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:11 +00:00
jbjohnso
120fa47c0e 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/trunk@11985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 15:16:05 +00:00
lissav
e15f58b00a Do not add otherpkgs for AIX defect 3508761
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 15:07:22 +00:00
jbjohnso
177de72a68 Just comment some of the new xcatd changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 17:50:24 +00:00
jbjohnso
7c64bb6b05 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/trunk@11932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 15:14:07 +00:00
jbjohnso
85a3468e0f Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 18:41:47 +00:00
daniceexi
8797bd6954 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/trunk@11822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 11:54:28 +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
daniceexi
9931cd58a5 code drop for the trace facility of xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-04 13:04:58 +00:00
jjhua
f58d07b802 initialize the powerinterval and syspowerinterval in the site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-30 08:26:45 +00:00
ligc
8ef17cc366 ftp dependency removal - final code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-15 03:11:34 +00:00
lissav
49d664bb76 fix comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-04 10:37:02 +00:00
lissav
6588d4c213 Do not put xcatd in /etc/inittab on Update call, breaks HAMS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 19:18:26 +00:00
lissav
77ce61b612 add lsxcatd -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-26 15:53:47 +00:00
lissav
52e5dcb3e7 dump last two days of auditlog and eventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-26 15:32:38 +00:00
lissav
4b7f92d496 Do not snap ISNM tables except config, too big
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-25 16:58:10 +00:00
lissav
1c3c23ecaf Some enhancements. use strict added, fixed uninitialized variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-25 16:07:41 +00:00
lissav
aa4edd01ef remove remoteshell.expect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 15:28:21 +00:00
ligc
831a5b6ace fix for bug 3406673: change PATH and MANPATH to make xcat ones before OS settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-09 00:50:21 +00:00
ericagar
cede69d8d7 Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
gdbeatles
6ac9136b7e remove unnecessary formatting line from discover_timezone_ubuntu()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 15:33:48 +00:00
gdbeatles
de7e9c5871 install packages contained in the ubuntu distro media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 13:34:20 +00:00
lissav
a6f8318362 change print to echo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-24 12:04:42 +00:00
lissav
685cbaa289 Add xcatd trace routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-22 19:14:24 +00:00
ligc
94ce223ef9 add UseNFSv4onAIX in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-07 06:03:24 +00:00
jbjohnso
56becc5546 Correct missing close brace
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 15:10:21 +00:00
wanghuaz
887d901e24 Fixed one timing issue that in open firmware 'Select this console as the active console press 0' msg passed quite quickly and this makes lpar_netboot.expect messed up with next msg after it. Adjust expect cases to put 'ok(.*)0 >' as the highest priority than '(.*)elect this consol(.*)'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 13:05:29 +00:00
sjing
496c97c6c5 Hitachi PMR fix - swapnfs is not available when paging resource is chaged.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-26 03:43:35 +00:00