2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00
Commit Graph

923 Commits

Author SHA1 Message Date
812e34f59b Add csh/tcsh profile in /etc/profile.d 2017-05-03 13:21:36 +01:00
Jarrod Johnson
168f60de06 Merge pull request #78 from aduffy19/power-off-detection
Add power off detection
2017-05-02 15:35:39 -04:00
Amanda Duffy
f4c191c280 Fix power off detection 2017-05-02 15:30:39 -04:00
Amanda Duffy
443b678d8a Add power off detection 2017-05-02 14:54:18 -04:00
Jarrod Johnson
2bc7a0c21f Change permissions of nodeshell 2017-04-27 16:49:05 -04:00
Jarrod Johnson
e429a703e2 Merge pull request #77 from aduffy19/nodeshell
Nodeshell
2017-04-27 16:45:33 -04:00
Amanda Duffy
342c1fb499 Add nodeshell 2017-04-27 16:44:19 -04:00
Amanda Duffy
d79e117c55 Merge remote-tracking branch 'refs/remotes/xcat2/master' 2017-04-27 16:31:45 -04:00
Jarrod Johnson
e96b869206 Merge pull request #76 from jjohnson42/reworkworkers
Replace login event mechanism
2017-04-26 14:35:29 -04:00
Jarrod Johnson
68037473d0 Replace login event mechanism
Provide a different scheme that does not involve a wait(), if by chance
the flow dies without getting back to our thread.  wait() has no timeout
so this is a strategy to cope by making sure we hang for no longer than
3 minutes, which is well beyond any time a login should possibly take.
2017-04-26 14:26:00 -04:00
Jarrod Johnson
0e5ac5c683 Merge pull request #75 from jjohnson42/reworkworkers
Add a recourse to drain queue
2017-04-25 16:51:32 -04:00
Jarrod Johnson
6ab4d3c886 Add a recourse to drain queue
While it may not have been possible in eventlet for this to happen,
strictly speaking if it were a thread, it could exit during check for
liveness and leave data on the queue.

To be careful, also drain the queue after all children dead.
2017-04-25 16:48:35 -04:00
Jarrod Johnson
5471aca5b4 Merge pull request #74 from jjohnson42/reworkworkers
Rework IPMI workers
2017-04-25 15:29:14 -04:00
Jarrod Johnson
cf97bbe299 Rework ipmi worker management
Provide a more concrete measurement of
children, rather than relying upon a
sentinel value on the queue.  It seems
that even using 'finally' didn't assure
that we always get that sentinel value
before a worker dies.  Sentinel value
still used to avoid a long wait in the
usual case.
2017-04-25 15:27:29 -04:00
Jarrod Johnson
f91ee5bcdd Merge pull request #73 from alin37/master
Fix nodelist to use correct number of arguments
2017-04-25 13:39:47 -04:00
Allen Lin37
ca25e9fa78 Fix nodelist to use correct number of arguments 2017-04-25 13:38:01 -04:00
Jarrod Johnson
b14a53a226 Merge remote-tracking branch 'upstream/master' 2017-04-20 16:26:16 -04:00
Jarrod Johnson
b597702146 Merge pull request #71 from alin37/master
Adding nodegroupattrib
2017-04-20 16:06:49 -04:00
Allen Lin37
b64858e0b3 Removing unnecessary case if groups ever has a key of 'value' 2017-04-20 15:41:11 -04:00
Jarrod Johnson
50e85df33c Merge remote-tracking branch 'upstream/master' 2017-04-20 14:59:27 -04:00
Jarrod Johnson
f6a0500e4a Merge pull request #72 from aduffy19/nodeidentify
Nodeidentify
2017-04-20 14:33:06 -04:00
Amanda Duffy
27294103cf Complain if not enough args 2017-04-20 14:30:33 -04:00
Amanda Duffy
ec90ef889b Merge remote-tracking branch 'refs/remotes/xcat2/master' 2017-04-20 14:19:33 -04:00
Allen Lin37
86e502a47a remove debug and fixing issue checking attribute 2017-04-13 22:07:47 -04:00
Allen Lin37
2042bcb8f0 updating server side for use with nodegroupattrib 2017-04-13 17:36:41 -04:00
Allen Lin
43211cf9a7 Updating file permissions on nodegroupattrib and nodeattrib 2017-04-12 10:50:44 -04:00
Allen Lin37
db15992894 Adding nodegroupattrib to update nodegroups 2017-04-12 10:36:27 -04:00
chenglch
d4329ab0f1 Merge pull request #69 from jjohnson42/unbufferedlogs
Change the stdout/stderr/trace logs to not buffer things over time
2017-04-12 10:38:19 +08:00
Jarrod Johnson
e230f803ce Correct missing argument
__new__ was missed in the last commit.
2017-04-11 15:42:16 -04:00
Jarrod Johnson
3cae3ed983 Merge remote-tracking branch 'upstream/master' into unbufferedlogs 2017-04-11 14:42:03 -04:00
Jarrod Johnson
2c3127418a Merge remote-tracking branch 'upstream/master' 2017-04-11 14:41:40 -04:00
Jarrod Johnson
563a2b11c3 Change the stdout/stderr/trace logs to not buffer things over time
If something went completely off the rails, it could easily fill up lots of memory with log entries in the 2 seconds it
would buffer.  For now disable the buffering on key debug logs, as the main purpose was reducing IOPs in the per-node
console logs anyway.  A future behavior may be to also limit the size and/or number of outstanding log entries before
committing to disk.
2017-04-11 14:40:05 -04:00
Jarrod Johnson
cff2c22fda Merge pull request #68 from alin37/master
refactoring nodelist and nodeattrib to use common code
2017-04-07 09:34:15 -04:00
Allen Lin37
cfd8ac4c75 refactoring nodelist and nodeattrib to use common code 2017-04-06 11:30:08 -04:00
Jarrod Johnson
236d889d5d Fix error on 'isset' data
isset data is to be redacted.  This handles that
situation, and also provides a repr if all else fails.
2017-03-05 09:20:50 -05:00
Jarrod Johnson
919dab9b55 Create auth multiprocessing pool on demand
Most of the time, we don't need this pool.  Create when needed,
and clean up after 30 seconds of inactivity.  This avoids a slow
shutdown that was due to core python hanging in help_finish_stuff,
and as a bonus means most of the time, one only sees one confluent
process, which has been a source of questions already.
2017-03-05 08:28:35 -05:00
Jarrod Johnson
eb18796d94 Merge pull request #67 from alin37/master
Fix nodelist and nodeattrib to read attributes in groups
2017-03-03 13:22:14 -05:00
Allen Lin37
fd64a2e68c Fix nodelist and nodeattrib to read attributes in groups 2017-03-03 13:10:29 -05:00
Jarrod Johnson
43b51eec20 Be more friendly about shlex parsing errors
If user provides bad input, be more helpful and
less fatalistic.
2017-03-01 10:31:00 -05:00
Jarrod Johnson
011ba66314 Add a -u option for symmetry with rsetboot
If people want to alias xCAT commands, then this
is required for compatibility.
2017-03-01 10:24:23 -05:00
Jarrod Johnson
49b3ca7381 Merge pull request #66 from alin37/master
Adding nodeattrib
2017-02-28 14:06:38 -05:00
Allen Lin37
16f2a2b1eb Updated for broken expressions 2017-02-28 13:51:36 -05:00
Allen Lin37
f2bbb7c355 Merge branch 'master' of https://github.com/alin37/confluent 2017-02-28 13:43:08 -05:00
Allen Lin37
c78b7fa146 Adding nodeattrib to change and update node attributes 2017-02-28 13:42:39 -05:00
Allen Lin37
1b44d2d781 Setting nodeattrib default to show current 2017-02-28 13:42:39 -05:00
Allen Lin37
2d8004000d Adding nodeattrib to list and update attributes 2017-02-28 13:42:39 -05:00
Allen Lin37
b714cfdf0f Adding nodeattrib to change and update node attributes 2017-02-28 13:27:22 -05:00
Allen Lin37
60a1ba77b7 Setting nodeattrib default to show current 2017-02-17 10:46:57 -05:00
Allen Lin37
bbfed443fc Adding nodeattrib to list and update attributes 2017-02-17 10:44:25 -05:00
Jarrod Johnson
f3cfe4ee26 Change strategy for stale data protection
Rather than assuming a global state, have the generator react to
GeneratorExit and clean itself up.
2017-02-15 10:58:08 -05:00