Commit Graph

64 Commits

Author SHA1 Message Date
daniceexi
db6e509b4a defect 3619: backup the req before dispatch to a xCAT module and recover it after the dispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-15 10:47:27 +00:00
ligc
97f11587b0 fix the issue with XCATHOST=ipv6-lla%eth0:3001 and remote xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-17 02:39:16 +00:00
jbjohnso
01ab6d41ea Remove debug output from Client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 18:30:16 +00:00
jbjohnso
f65080fb4b Support LLA with scope index XCATHOST
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:35:10 +00:00
lissav
b6d19b4c8e fix defect 3380, add support for NoErrorPrefix, NoWarnPrefix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 21:16:30 +00:00
ligc
f2c2410f3a fix for bug 3235: check ipv6 only for Linux, not AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 02:52:42 +00:00
ligc
9de743b141 fix for bug 3214: check if IPv6 is enabled on MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 11:11:00 +00:00
ligc
02a96668f7 undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-10 08:54:25 +00:00
bp-sawyers
dd11950993 chomped newlines from runcmd streaming output and updated site.runbootscripts description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
ligc
628806fd81 fix for XCATBYPASS=1 could not work with commands depends site attribute, like makedns=>site.dnshandler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 04:33:40 +00:00
zhaoertao
571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
nott
ac30816620 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
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