Commit Graph

52 Commits

Author SHA1 Message Date
jjhua
8cbcd958d5 Populate %::XCATSITEVALS with XCATBYPASS=1 in the submit_request(), and use $::XCATSITEVALS{} instead of getting from site table again.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 09:43:17 +00:00
lissav
6bc5be20e1 report when no defined plugin, will at least see in bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-13 11:03:59 +00:00
jbjohnso
638e9179a7 Fix problem where Client could attempt to coalesce data from server that doesn't cleanly cleave an xcat response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 12:59:22 +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
f232fc8b82 Rework Client to be more responsive to server code even with the XML coalescing in effect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:36:33 +00:00
sjing
34ca6ec873 the fix for bug 3364300 - only allow root to run xcatbypass mode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 02:36:17 +00:00
jbjohnso
3351f818a9 Don't give up on a TCP socket if connection happens but SSL is slow
Have Client.pm consider basic tcp connectivity separate from SSL for timeout concerns

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-17 21:04:23 +00:00
lissav
1b755d9d48 More updates for XML handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 18:39:07 +00:00
lissav
a7a5218b5b Add support for XML in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 12:52:08 +00:00
jbjohnso
0a069e3b88 Have Client work to aggregate some XML processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-25 17:45:34 +00:00
jbjohnso
7a89b99b71 Move increased tolerance for list/scalar parameter ahead so it actually matters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 14:30:14 +00:00
jbjohnso
3e76b2102e Have Client.pm tolerate callers that neglect to 'array-ify' rsp->node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 12:57:59 +00:00
jjhua
54d8d77159 fixed 3393278, if noderange is not empty and missed not is empty, at the meantime, the @nodes is also empty, we can make sure that no node/noderange specified in the command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-18 02:49:25 +00:00
jbjohnso
aa8f8b3535 Attempt to trim down memory usage per 'trivial' client. IO::Socket and SSL consume most of the rest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-07 18:42:22 +00:00
jbjohnso
bea95cbe38 Rework message when uuid is not available to be less severe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 15:51:08 +00:00
mellor
ab7dbd2ff8 defect 3168885 - improve error msgs for xcatd connection failures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 19:52:54 +00:00
jbjohnso
3b9fe409bf -Fix Client.pm inability to support IPv6 correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-20 21:36:52 +00:00
xq2005
e5e14cd8de modify process_request's parameter error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-21 08:37:54 +00:00
lissav
1108a03284 fix defect 3052327
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 15:51:40 +00:00
cjhardee
9db0c3a358 added checks for improper colons and newlines in the client xml. XCATXMLWARNING is the env variable to set to enable it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-16 15:13:39 +00:00
cjhardee
677a70a760 Just made some areas more readable since I'll be playing in them soon.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-31 02:15:57 +00:00
jbjohnso
aa286493cc -Add feature to use XCATXMLTRACE=1 to dump xml format of transactions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 20:27:16 +00:00
lissav
f74e40b075 set request->{username} in bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-12 18:36:55 +00:00
lissav
cc28c8abcb add support for clienttype=other
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 16:10:25 +00:00
lissav
4833cebef5 add already defined check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 18:31:47 +00:00
lissav
6edb374efe add username to the request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 18:24:11 +00:00
wuzhy
75526bb297 fix the output sorting about "nodels lpar"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 04:19:37 +00:00
wuzhy
e564e4a8d0 Add the support for sorting the output of the xCAT command which list nodes or VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 08:23:22 +00:00
mellor
2aa3876007 enhance plugin processing to ensure correct table-driven plugin is called, moved common usage preprocessing to new plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 15:12:39 +00:00
cridye
fc37e3ea2f kvm.pm: clean up error handling for programmatic control (i.e. MSM)
Client.pm: clean up warnings in logfile


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 22:30:09 +00:00
mellor
ce37886fb8 removed dup copy of scan_plugins subroutine I left in by mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 16:32:22 +00:00
mellor
c6b79c7c15 updated various bypass mode subroutines to be similar to xcatd again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 16:16:33 +00:00
jbjohnso
76b5a8eb31 -Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:44:46 +00:00
mellor
beffdd517f make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00
ligc
4089683849 consolidate the three duplicate subroutines thishostisnot into xCAT::Utils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:54:34 +00:00
linggao
05d658834b fixed a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 13:31:27 +00:00
linggao
cdeb9db913 fixed 'not well-formed...' error caused my ESP chararater passed to XMLin function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-09 17:51:31 +00:00
jbjohnso
b177a9b55d -Termiate a failing client connection sooner (for environments with failed service nodes mainly)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 18:03:46 +00:00
jbjohnso
0bc53fc5a2 -Improve client and intra-service node performance on large requests (for example, nodels of 65 thousand nodes used to take 2 minutes and 40 seconds on one particular system. It now takes 14 seconds on that system with this change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 15:58:41 +00:00
nott
d3ebde125a Handle AIX shipping new version of Perl.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 17:29:16 +00:00
lissav
3b2164d292 remove check for Linux to use Simple parse, use it on AIX also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:44:50 +00:00
lissav
93f9ad6e90 fix error message noderangex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 19:33:01 +00:00
lissav
28d5c5313b enhance logic to not pull in Socket6 at all for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 18:39:33 +00:00
lissav
f3bb891229 add comment on disablement of IPV6 on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 11:38:34 +00:00
lissav
486e28c82d fix Socket6 error on AIX funny line added to every command addr xxx .....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-01 20:39:29 +00:00
jbjohnso
90b611cb85 -Fix IPv6 usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-29 13:53:49 +00:00
jbjohnso
c8264f231a -Have Client library use a more reliable method than environment to get home directory
-Change conserver backends to not bother with setting HOME variable at all


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 14:19:17 +00:00
daniceexi
81c33fff4a Add an error message for missing certain plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:31:39 +00:00
mxi1
31e2aad089 -fix bug#2493580, <pattern>64-bit</pattern> and stunnel package are not available for SLES11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-12 04:44:56 +00:00
mxi1
9a9ef9d94c -updated xcat.conf for SLES11 installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 10:12:05 +00:00