Commit Graph

47 Commits

Author SHA1 Message Date
jbjohnso
2ba8b9f800 -Have SLES plugin correctly handly ctrl-c
-Fixed problem in xcatd where stale children dying off are counted toward the wrong tallies with new aggressive loop exits


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 20:43:07 +00:00
jbjohnso
b58eacc9b1 Fix BUGs in client interrupt code that would crop up in syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 18:48:07 +00:00
jbjohnso
e0840e7367 -Have anaconda plugin abort copycds cleanly when ctrl-c pressed
-Have xcatd be a bit more thorough about killing processes on certain events


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 18:31:27 +00:00
jbjohnso
c779a9fb05 -Fix problem with server portion of ctrl-c bug
-Have blade plugin propogate ctrl-c induced abort to mpa processes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 15:37:39 +00:00
jbjohnso
c6edb78635 -xCATd portion of solution to sourceforge bug 1822784, plugin instances now receive SIGINT and things shut down. Plugins with children still have to manage exit intelligently, but the same is true for standalone programs to begin with, so shouldn't be harder on developer than that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 15:27:11 +00:00
jbjohnso
ebf6b955be -Fix problem where SIGPIPE wasn't exiting, fixes ghost plugin instances on client connection loss
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 19:15:26 +00:00
jbjohnso
6a6be9a70b -If an SSL handshake takes 10 seconds, abort the connection from the server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 18:52:45 +00:00
jbjohnso
d6400134ea Force exit of processes on SIGTERM with 5 second clean-shutdown grace period
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 16:12:52 +00:00
nott
5728f694d7 Set PREFERRED_PARSER for Linux only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-16 17:03:37 +00:00
jbjohnso
ba99420a4f -Don't add to IO::Select object until the socket is confirmed to have been created normally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 18:26:59 +00:00
jbjohnso
125101d535 -Restrict discovery to require binding to a privileged port on the node end
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-11 18:12:10 +00:00
linggao
fb37227ab5 added support for centralized logging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-04 18:33:40 +00:00
jbjohnso
bd9ad989ff -Fix xcatd DoS/SSL negotiation global hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-31 14:21:16 +00:00
jbjohnso
55524bb351 Allow client to conduct anonymous operations, flesh out argument checking in validate, better clarity on connection failures in xCAT client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 15:55:41 +00:00
jbjohnso
b528d8144c -Actually have logging work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 21:37:15 +00:00
jbjohnso
d4aff32345 Fix xCATd logging to work appropriately
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 20:58:10 +00:00
jbjohnso
92fb8a305b -dhcp plugin returns a more specific error message when ambiguous dynamic range ownership detected
-xCATd now logs startup, explicitly blocks the 'cons' syslog backend, and exits out if syslog unable to provide a suitable logging situation (cons forked if things were that bad and broke DB handles, syslogd needs to run anyway)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 20:44:36 +00:00
jbjohnso
250e37795c -Have Client startup faster by not doing use on xCAT::* unless XCATBYPASS
-Change some output forwarding loops to exit tenths of a second sooner than before (no further child output in a detectible fashion can be detected by filehandles in the fdset much sooner than child process exit completion)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 16:14:59 +00:00
jbjohnso
754185352b Fix for 'missing ParserDetails.ini' error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 14:16:00 +00:00
jbjohnso
ae2bece3ec -Have discovery refuse to give the same IP address to multiple nics by default
-Have nbroot explicitly try to send packets out of each up interface
-Prevent empty /etc/motd warnings
-Fix issue where discovery failed with classic MM
-Change check for network sameness to a live check instead of table check in nodediscover
-Have nbroot quiet by default to alleviate conserver log usage
-Have dhcp plugin mac deletion be a bit more aggressive, delete matching mac addresses
-Have discovery disable DHCP offers for multiple NICs on the same network if nothing resembling a proper guess can be made


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:00:07 +00:00
jbjohnso
5cf09a4701 -Place yield in a few more places where there is more important work to be done at the time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 13:10:58 +00:00
jbjohnso
ac0b54f66b Make the INET6 support check more direct and to the point
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 18:05:26 +00:00
jbjohnso
129af8ee3e -Use yield in child process data collection loops to avoid cycling needlessly, what was happing implicitly with sleep, the part that mattered
-Copy hardeths redundantly, still need to pick one definitive place and go with that


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 15:36:44 +00:00
jbjohnso
ff222e3ffd -Adjust timings to be not noticably slower, but slow enough to allow the management node to work with a larger scale of clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 04:13:21 +00:00
jbjohnso
eb7dadcc95 Revise noderange fix to allow nodels to work again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:57:27 +00:00
jbjohnso
848c7b6e8c Fix sourceforge bug #1908128, nodels returning all nodes instead of none on noderange with zero members
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:31:35 +00:00
jbjohnso
1e84cb6c43 Have xCAT daemon produce helpful error messages when commands fail to get matched to a plugin due to table errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 04:52:08 +00:00
jbjohnso
91855f9af6 Fix problem where backticks in plugins got no useful return code in 0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-15 14:54:46 +00:00
jbjohnso
b271ec7039 -Change name for booting to iscsi device to iscsiboot from netboot
-Save the singular set of kernel/initrd/command line arguments when switching away from iscsi to, say, shell
-Add implicit imgserver to destiny, assume the management node if nothing else specified
-Reorder tftp boot directory hosting iscsi bootstrap, avoid race condition
-Change wcons to a perl script in preparation for more sophisticated operation/syntax
-Schema changes to iscsi table, place the vlan column after port to reflect relative importance to user


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 21:48:21 +00:00
jbjohnso
54fc7ea33b -Stop forking off nodeset next on installmonitor request, avoid race condition
-Prevent empty responses from triggering bug warning in the dispatch_callback
-Give servicenode attribute value weight in $master deterimination in templates and postage


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-05 15:45:58 +00:00
jbjohnso
a9fc0b885e Have a clause for udp service to use to skip dispatch function
-correct rcons shell syntax
-Move Table objects in MacMap to exist in a lifetime amenable to SQL server reality


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 16:23:20 +00:00
jbjohnso
254432e82d -Add -f flag to xcatd to keep in foreground
-Fix xcatd subprocesses to not overwrite their own parent fd when spawning more subprocesses
-Add hierarchy function to fedora plugin


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-27 17:37:24 +00:00
jbjohnso
d58a5c0f34 -Give dhcp plugin hierarchical capability
-Have dhcp plugin reuse omapi key if already stored
-Allow preprocessing functions to callback just like processing functions
-tabedit accepts/prefors 'TABEDITOR' variable, defaults to vi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 17:55:34 +00:00
jbjohnso
1efa566c88 Parallelize xcatd dispatched requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 00:23:23 +00:00
jbjohnso
c1b03f38fd Make ipmi requests fan out to service nodes, fix problem where serverdone flags were erroneously propogated to client from a dispatched request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 16:17:19 +00:00
jbjohnso
1812d2e372 -Change '!xcat' hash members to '_xcat', which can survive XML-ization
-Have the xcatd service script source a /etc/sysconfig/xcat if available (to allow setting of XCATCFG)
-Modify xcatd to be able to relay requests to service nodes if the plugin can provide a map, using it's server key and certificate as client credentials
-Provide a more helpful message for SSL connection issue
-Modify Client.pm to accept custome key/cert/ca files to facilitate the aforementioned request relay.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:07:53 +00:00
jbjohnso
7f2a3b8ea4 -Correct node deletion if a simple format mac entry is referenced, or none at all.
-Factor out plugin call in preparation for hierarchical dispatch


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-24 13:37:34 +00:00
jbjohnso
b8b4e74f04 Fix most instances of fork by replacing with xfork, name xfork correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:59 +00:00
jbjohnso
c8c7d356f0 -Report error on DB problems in chnode
-Fix UDP listening select semantics to allow clean exit again
-Alter lifespan of sitetab object in xcatd to avoid attempting to persist across forks (needed for PostgreSQL)
-Allow for possible quotation marks in DBI return data that happen in certain interactions with PostgreSQL
-Cleanup a few unfinished statements and unclosed tables, which might have adversely impacted DBI behavior


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 19:20:46 +00:00
jbjohnso
decc71ac21 Provide enhanced iSCSI support for the opportunity for more seamless operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 21:14:50 +00:00
jbjohnso
3b2b02b3e1 Improve performance of discovery process
-Pull UDP queue in to remove duplicates
-Query all caches before slow refresh activities
-Decrease timeout on nodediscover notification
-Switch now only bothers refreshing a cache older than 20 seconds


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 20:55:28 +00:00
nott
db049e6f2a Added conditionals around INET6 references so IPv6
will not be used on AIX systems for now.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 14:31:45 +00:00
jbjohnso
411810ea10 Fix remaining XCATPREFIX references, add an AF_INET failback for AF_INET6 lookup, fix ipmi perl script to properly include perl libraries from XCATROOT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-03 15:55:47 +00:00
linggao
7cade470d5 packaging changes. Default installation direcotry is /opt/xcat now. environmental variables XCATROOT, PATH and MANPATH got updated by installed the packages. Did not touch xCAT and xcatnbroot yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 19:14:43 +00:00
lissav
25f5ad1a5d Change use of syslog local1 to local4 to match MsgUtils. Think this
would be less used by other applications. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 14:25:55 +00:00
nott
6408b3d1c7 Added a temporay conditional for IPv6 support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-03 13:10:23 +00:00
jbjohnso
884bfd04d6 Move directory structure to not imply /usr prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-30 15:27:48 +00:00