Commit Graph

447 Commits

Author SHA1 Message Date
lissav
58543b771c fix changed routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-13 20:10:57 +00:00
daniceexi
c9c00ec7fd 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/trunk@13470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 08:54:22 +00:00
zhaoertao
f0bc50d27b for item: clean up Utils.pm, the code for xcatd. the thishostisnot function has been moved to NetworkUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:58:34 +00:00
nott
b01f3caece fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:48:03 +00:00
zhaoertao
00ac099deb 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/trunk@13323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 09:54:54 +00:00
lissav
731b3d3bf9 fix logic on call to genSSHNodeHostKey, should only be called with -u -i -f -s flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-18 11:35:32 +00:00
lissav
7c949b11b5 fix defect 3510989
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 18:53:49 +00:00
ligc
0a6f3cc7c5 fix for bug 3538902: move the code from ddns.pm to xcatconfig to configure named to start on boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 05:52:47 +00:00
ligc
e61f51388f fix for bug 3524402: run chkconfig dhcpd on in xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 03:17:04 +00:00
lissav
66cc3be938 add xcatconfig -m to put management node in the DB correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-26 12:35:12 +00:00
jbjohnso
a7f41ecb00 Fix problem in previous checkin with superflous 'my'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:22 +00:00
jbjohnso
7ab7085122 Use xcatiport and opt not to do install monitor if unset
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 17:27:15 +00:00
lissav
d0e29a67e6 fix defect 3393889, allow longhostname in policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:11:06 +00:00
lissav
1fdee03579 Move xcatd validate routine into and create an xcatd library. This should help with development and debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 13:00:38 +00:00
lissav
23075ccac5 fix name to lowercase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 17:12:06 +00:00
lissav
6d94da7278 setup default Nodesyncfiledir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 16:59:39 +00:00
jbjohnso
7cae464cba Close some filehandles that aren't needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 21:11:14 +00:00
lissav
d5707e6562 backout 3528566 , migration issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 10:59:10 +00:00
lissav
cb2b559785 fix defect 3528566
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 17:45:01 +00:00
lissav
e8996a35dc fix for defect 3527641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:09:03 +00:00
jbjohnso
22eff119c4 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/trunk@12764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 14:03:04 +00:00
jbjohnso
43d4ca3b8f 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/trunk@12734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 15:11:26 +00:00
daniceexi
f38190c129 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/trunk@12731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:16:58 +00:00
jbjohnso
30a91fe7bb 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/trunk@12724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 19:43:39 +00:00
daniceexi
8b90088bf9 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/trunk@12661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:57:20 +00:00
jbjohnso
f6460e219a 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/trunk@12482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 19:57:58 +00:00
jbjohnso
85ee055285 Correct problem where xcatd could truncate very large responses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 20:00:30 +00:00
jbjohnso
4e9d05f9d2 Correct syntax problems in invoking fcntl calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 18:28:38 +00:00
jbjohnso
b41bbd14dc 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/trunk@12425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-01 17:52:55 +00:00
jbjohnso
039f6191f2 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/trunk@12412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 16:24:23 +00:00
jbjohnso
d7088aa571 Pass 2 at correcting xcatd infinite patience with clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:41 +00:00
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