mellor
8cc763fc72
resync xcatconfig to match latest xCAT spec postinstall
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-29 13:50:12 +00:00
jbjohnso
3d50a37502
-Prevent successive nextdestiny requests from spawning busy loop (loss of TCP socket caused parent to exit, child removes FD, but select won't return zero just because of that)
...
-Prevent closed client socket from inducing infinite select due to previous change.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-25 01:27:26 +00:00
jbjohnso
87d3f80207
-Correct problem where lazy clients would induce 'unexpected disconnects'. Lazy clients here consisting of the awk scripts that don't wait for serverdone tag.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-25 00:06:15 +00:00
jbjohnso
0e89580dd4
Fix problem where files were created world writable by default
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-22 14:23:12 +00:00
jbjohnso
46134f0a75
-Move CHILD handler assignment into loop to guard against loop somehow corrupting it before the sleeping loop
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-22 14:16:37 +00:00
jbjohnso
012d3cedc8
-Provide better error message when nodetype.os is not set for nodeset install
...
-Correct nodetype failure description when nodetype.arch is not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-22 14:12:05 +00:00
bp-sawyers
db19c72268
copycerts no longer needs to copy cfgloc
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-22 00:11:51 +00:00
lissav
497caea155
fixed corrupted copycerts file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-21 16:29:16 +00:00
bp-sawyers
5d8c27fe69
- added File:Path for mkpath
...
- added check for /install existing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-21 14:02:38 +00:00
linggao
5d5b85dbe2
more enhancement to snmp trap filter
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-20 18:58:40 +00:00
linggao
6ed81741bc
fixed ipmi trap problem
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-19 19:33:06 +00:00
linggao
cd6baf65a9
enhanced the filter in snmp trap handling
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-19 18:51:48 +00:00
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
linggao
4638351ddd
fix monitoring infrastureture to take a pair of hostnames in noderes.monserver
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-16 15:09:43 +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
linggao
ed9c761a01
cleaned up copycerts, added safeguard for conserver startup in CONSsn.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 19:08: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
linggao
d572735255
fixed conserver problem on service node boot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 01:15:53 +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
lissav
8ff27083df
routine to create DNS conf file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 17:10:30 +00:00
nott
5a5e0c7dc1
Updates for AIX diskless support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-03 13:01:21 +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
5540ae512b
-Change .directories in postscripts dir for wget traversal
...
-Change remoteshell to retrieve ssh host keys via credentials plugin
-Change allowcred.awk to be persistant in execution for multiple runs
-Move stunnel setup to the post.rh scripts (post.sles to do)
-Migrate to no longer have per-node postscripts generated for redhat installs
-Change to no longer use a postscripts tar file, recursive ftp instead
-Change to setup vsftpd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-30 20:54:57 +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
lissav
51b33b53ba
add debug
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 19:17:12 +00:00
lissav
fc923f29dc
touch xCATSN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 19:02:56 +00:00
lissav
f8e0d8baea
add touch of xCATSN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 18:33:55 +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
lissav
6d0a889c80
fix copy??
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 16:26:46 +00:00
lissav
95d9795551
fix copy of xcat
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 16:10:20 +00:00
lissav
461d249018
add copy of cfgloc
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 15:12:03 +00:00
nott
5084e12763
Add default settings to the postscripts table.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 12:53:58 +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