Commit Graph

537 Commits

Author SHA1 Message Date
lissav
f11b298acd setup interface for setting tunables 2013-08-14 09:46:19 -04:00
daniceexi
9650919738 defect 3703: make the configmic and flashmic could get the correct hostname on the host node 2013-08-08 12:52:35 -04:00
jbjohnso
40a65cc564 Fix problem where xcatd would error on end of stream
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-25 13:27:37 +00:00
jbjohnso
e5dd20f15e Clear $1 prior to calling plugins
xcatd now might let $1 leak into the plugins.  Ideally, the downstream code
would check match before relying upon $1 to be undef, but better to
avoid unintuitive behavior.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 18:59:10 +00:00
jbjohnso
1f6177a5c6 Have xcatd send client more similar content between xml and non xml
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 15:20:49 +00:00
daniceexi
af1638ce7d two changes: 1. run mount -a anyway to make sure the osimage has been mounted from MN; 2. set the STDIN/STDOUT/STDERR to /dev/null so that mpss start can daemonized cleanly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 06:44:52 +00:00
lissav
7245c20ef8 fix 3668 Ubuntu also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:43:58 +00:00
lissav
ba524d3dba fix defect 3668
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-09 16:35:06 +00:00
xq2005
e54dbe69e4 get the timzone automatic on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 07:10:50 +00:00
daniceexi
cc619af68b Code drop for Xeon Phi (mic) support. Run on host to flash the mic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:29:00 +00:00
daniceexi
9bd662e82a Code drop for Xeon Phi (mic) support. Run on host node to configure the mic (network,hostname,onboot,vlog)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-30 04:28:19 +00:00
lissav
1141f649c0 fix defect 3637
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 13:06:18 +00:00
jbjohnso
b4f1b9a6ea Have client default to storable model to reduce XML overhead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 18:44:17 +00:00
jbjohnso
20b3960c09 Prevent child reapers from trouncing accurate syscall errno settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 14:42:25 +00:00
jbjohnso
11e2d1e834 Further prepare xcatd to understand alternate encoding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-10 14:42:18 +00:00
jbjohnso
7e9a9d09f3 Fix loop after request done, can_read will happily return true even if the client has closed... TODO: perhaps check for client closed explicitly
if we ever feel like doing multiple request scheme

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 17:48:47 +00:00
jbjohnso
dc5b18e4ef Have xcatd prepare to accept alternate encoding 'storable'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 20:58:47 +00:00
jbjohnso
c67d9135c1 Accept ECHILD as meaning the same thing as EAGAIN on sysread/syswrite to accomodate seemingly flawed platform behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 13:58:03 +00:00
jbjohnso
22e92e3c05 Try to doubly make sure that buffering and EGAIN doesn't interfere with communication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-30 18:58:15 +00:00
lissav
336a1aa2ab do not regenerate hostkeys for xcatconfig -u
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-09 11:05:24 +00:00
lissav
686ebdb500 fix for defect 3554 and 3549
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 18:24:32 +00:00
ligc
7f60027aa1 fix for bug 3496: disable SELinux on RHEL, check rc problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-15 04:53:04 +00:00
jbjohnso
34f0ece400 Fix problem where hot takeover failed to completely kill off discovery worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 20:15:00 +00:00
jbjohnso
4817dfbe26 Fix unclean shutdown induced by discovery worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:46:48 +00:00
jbjohnso
d3adad02ee Fix discovery in worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:37:23 +00:00
jbjohnso
7d7bfb00b4 Break discovery out to it's own worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-11 19:36:45 +00:00
lissav
0eff1909de fix defect 3483
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-10 15:55:06 +00:00
jbjohnso
033b6706b7 Fix problems with IPv6-ification of the UDP service
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 20:36:14 +00:00
jbjohnso
f2de7ef12e Fix problem where tc grants always were sent to the last peer to send traffic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:15 +00:00
jbjohnso
27459a2869 Fix issue where TC requests would be remembered not at all and then forever
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:10 +00:00
jbjohnso
15d0a15364 Fix output to have a newline in packet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:37:05 +00:00
jbjohnso
4204e9070e Implement udp request (but no reply yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:36:57 +00:00
jbjohnso
b9e587e703 Step one of traffic control, have SSL inform UDP process of current client count
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 17:36:51 +00:00
jbjohnso
c72f824670 Simplify a lot of xcat IPC by removing the silly 'endoffreeze' in favor of store_fd and retrieve_fd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:19 +00:00
lissav
6b9baa15e5 fix defect 3426
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-29 11:36:48 +00:00
xq2005
2de350cf80 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:11:02 +00:00
xq2005
2ce147d84b support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:38 +00:00
xq2005
e05797bb60 support makeknownhosts on debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:06:09 +00:00
lissav
907b14ba9d add /opt/xcat/share/xcat/tools to the path for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 12:35:49 +00:00
lissav
46a89fa1c6 add crontab -l
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 13:38:09 +00:00
jbjohnso
5a21746fe8 Have xCAT support ssl parameter settings in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 21:11:54 +00:00
lissav
b22f425c3e add crontab -l
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 16:01:48 +00:00
lissav
cfcca53716 setup the MN in the servicenode table with proper defaults
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-19 13:29:55 +00:00
mellor
daf319a402 defect 3376 - need to load XCATSITEVAL global in upd listener process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 20:30:37 +00:00
lissav
9154b2edc9 improve mgmt into servicenode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 20:22:36 +00:00
lissav
f942046a68 xcatconfig -m add mn to the servicenode table defect 3308
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 15:07:21 +00:00
daniceexi
9a9b28a9f3 defect 3333: use th signal 12 (USR2) to stop the install monitor process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 02:03:28 +00:00
jbjohnso
3496d08373 Add support for xcatd to recognize and unpack gzip compressed payloads
Put back in extended NIC information, but compress it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 14:37:17 +00:00
bp-sawyers
27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
jbjohnso
05796434a8 Have xcatd not print warnings in the event of non-resolvable cirumstance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:09 +00:00