jbjohnso
5075adf269
-Fix problem where xCATd would terminate prematurely because a grandchild exits at an inopportune time
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-16 18:12:46 +00:00
sakolish
4e85065eb5
Added "ifconfig -a" for AIX inplace of "ip addr" for Linux. "ip" command is not available on AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 14:57:37 +00:00
jbjohnso
fd5e1a73f7
-Awk file transfers to xcatd are retried in most places
...
-blade plugin will retry more to scale reliably
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 23:33:16 +00:00
jbjohnso
bbf82cc55d
-Put in missed '#THROTTLE' code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 17:38:46 +00:00
jbjohnso
bff6ff5b9e
-Try throttling for mass deployments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 17:30:56 +00:00
jbjohnso
8d07642cf4
-Check in a throttling solution, but leave completely in comments, search for #THROTTLE for relevant code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-08 15:22:22 +00:00
jbjohnso
ebccf9c788
-Fix problem where dispatched requests weren't using the new semantics for key/cert combination
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 21:13:31 +00:00
jbjohnso
be24ac6b23
-Move to single file for certificate and key for simplicity
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 19:38:44 +00:00
jbjohnso
bc951b2525
-Fix improper lack of 'serverdone' tag
...
-Fix syntax error in conserver plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 12:53:09 +00:00
jbjohnso
db91ec3a80
-Fix problem where xCATd server could occasionally hang while fulfilling a command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-28 13:47:20 +00:00
jbjohnso
37c0e9303b
-Have client detect prematurely ended xCAT sessions (i.e. without serverdone performed)
...
-Fix problem where server would prematurely end xCAT sessions.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-25 21:09:18 +00:00
jbjohnso
b5f9d956f4
-Migrate kernel, initrd, kcmdline to new bootparams table from noderes
...
-Migrate serialport to nodehm from noderes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-25 15:36:56 +00:00
linggao
3e60f15126
hierarchy support in conserver.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 18:08:41 +00:00
jbjohnso
5ad7de36fb
-Fix perl segfaults on process exits (sourceforge bug 1949798)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 17:26:30 +00:00
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