Commit Graph

57 Commits

Author SHA1 Message Date
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
041ef549ef 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@3817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:46:05 +00:00
jbjohnso
f478676446 -Specify target noderange in some places where applicable in logs/ps output
-Add a line feed to stdout type messages


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 14:50:08 +00:00
jbjohnso
524801a968 -Fix problem where chained requests would encounter bugs silently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-22 15:03:46 +00:00
daniceexi
05c9e4b58f The first phase code drop for CFM like funtion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 15:33:44 +00:00
lissav
2cb8e227ce 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@3495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 18:40:06 +00:00
lissav
e965589467 add comment on disablement of IPV6 on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 11:38:23 +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
4ab629b3de -Avoid a warning on debug in certain cases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-06 20:07:44 +00:00
jbjohnso
2e175519ce -Have more checks to guard against fork bombs in bad scenarios
-Correctly dereference a check to avoid a fork if possible


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-06 20:07:05 +00:00
jbjohnso
b849ef83e7 -Validate discovery source is in a dynamic range that xCAT controls
-Make MAC discovery contemplate the payload of a discovery packet rather than just contextual data


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 21:19:03 +00:00
jbjohnso
ff63318516 -Enforce serialized intra-xCAT communication. Required to not cause problems with DB handle exhaustion as currently architected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 20:09:14 +00:00
nott
ccf5e0cb2b Handle case where site domain is not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 17:18:06 +00:00
jbjohnso
fdb4b70285 -Fix errors in xcatd changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 06:17:42 +00:00
jbjohnso
d8f935df65 -Institute new plugin phase 'init_plugin' and move AAsn to using it (have a function to request peer plugin action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 05:57:08 +00:00
daniceexi
d922d337a8 Add an error message for missing certain plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:33:08 +00:00
jbjohnso
9664ad0072 -Have xCATd provide what may likely be FQDN as a value in the request
-Implement 'getcredentials' for a krb5 keytab, requires documentation
-Have getcredentials.awk fundamentally capable of requesting multiple credentials in a single request (theoretical scaling)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-15 20:23:48 +00:00
jbjohnso
8c41fc1a00 -Handle error messages in a redundant case a bit less obtrusively
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 21:17:59 +00:00
jbjohnso
94398558ca -Fix problem where requests were sent to backup service nodes when a request is sucessfully dispatched
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 18:01:26 +00:00
jbjohnso
aee0f1a7f5 -Support , delimited xCAT destination to denote 'anycast' sort of service node structure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-28 22:38:48 +00:00
jbjohnso
da7655af18 -Fix problem where xcatd would 'BUG' if a table didn't exist at all when trying to determine a command handler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 00:45:53 +00:00
jbjohnso
0374e787f5 -Confine plugin bugs to the child process handling them in the common case, provide more feedback on these
than 'unexpected disconnect'.  Note that a rearchitecting to not fork when only one plugin is involved
 would make the 'impossible' message possible, but such a rearchitecting would make xcatd more susceptible to
 plugin bugs in other ways and is therefore unlikely.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 22:45:22 +00:00
linggao
51a1219b42 added support for user-defined database tables, phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-09 22:25:35 +00:00
jbjohnso
78363b3456 -Fix problem where an error went to stdout instead of stderr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-11 15:42:04 +00:00
mellor
26c6baf15f new rollupdate support working with LoadLeveler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-22 15:56:46 +00:00
nott
ca3c374059 Avoid inet6 check for AIX in thishostisnot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-19 17:29:03 +00:00
lissav
6391aa7d52 fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-07 16:37:22 +00:00
linggao
b908e634ea more work on node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-29 16:33:21 +00:00
jbjohnso
4af8710b51 -Address errors on bad input from WebUI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-28 18:46:48 +00:00
jbjohnso
4edd7680f1 -Further enable WebUI to handle login reasonably
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-28 16:08:12 +00:00
jbjohnso
cb0a8f5c43 -Add 'becomeuser' tag to commands. If client supplies such a tag, will attempt
to change name to match based on passwd table contents.  Rejects request outright
if tag attempted and process fails.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-27 19:24:02 +00:00
jbjohnso
8acad4e8ef -Revert fix for php client, fix the php client instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-27 15:23:43 +00:00
jbjohnso
21604ebdde -Fix php client hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-27 15:00:45 +00:00
jbjohnso
e8f67622e6 Tweak extnoderange function to be consistent with other commands, export it as client callable method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 22:57:55 +00:00
linggao
1f661e7f08 added function for showing node status in nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-25 03:04:56 +00:00
jbjohnso
0ad5513cb7 -Fix xcatd after broken checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 15:34:08 +00:00
jbjohnso
5f8f8385cc -Fix perl warning on a comparison to behave obviously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 14:38:35 +00:00
jbjohnso
d413784c79 -Implement noderange based ACLs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-29 15:21:50 +00:00
jbjohnso
76b71bac72 -More verbose logging to prevent silent or vague errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-20 16:51:06 +00:00
jbjohnso
56455c9f14 -Fix problem where plugins making peer requests would trample their own path back to client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-14 14:27:54 +00:00
jbjohnso
381bc61b13 -Change 'undef' to DEFAULT handlers to avoid strict violation warnings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-11 18:32:42 +00:00
jbjohnso
ce94e8497b -Change xCATd to not fork when not having to dispatch commands to peer servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-11 18:13:35 +00:00
jbjohnso
3e0bb866b2 -Move client abort handling up to top level client handler in preparation for fork reduction
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-11 16:17:16 +00:00
lissav
e15d99ab3f Switch syslog calls to MsgUtils interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-10 12:57:50 +00:00
jbjohnso
3a93ec2669 -Provide more verbose feedback on dispatch failures.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-08 17:06:08 +00:00
jbjohnso
52621ee31c -Fix problem where dispatch targets get tripped up over the empty _xcatdest XML
element.  This fix leaves the _xcatdest element intact as some plugins detect preprocessing on it, but ensures the daemon realizes the nature of the element


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-07 14:43:58 +00:00
jbjohnso
f1da168cb7 -Fix potential for uninitialized values in xcatd in certain places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 23:46:15 +00:00
jbjohnso
5474d28875 -Fix strict compliance issue in xcatd, add warnings check to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 22:41:43 +00:00
jbjohnso
f90436637c -Have xCATd attempt to relay fatal errors to clients instead of just logging them.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-14 15:15:35 +00:00