Jarrod Johnson
620263db3e
Add maxnodes argument to potentially risky commands
...
This uses the client maxnodes check to double check. Useful
for clients that want to sanity check unexpectedly large numbers of
nodes.
2019-10-23 14:20:40 -04:00
Jarrod Johnson
bed0f76dba
Fix nodeshell/nodersync python3 changes
2019-10-14 09:37:30 -04:00
Jarrod Johnson
b81e5fb3ce
Fix python3 issues with noderun and nodeshell
2019-10-11 09:53:01 -04:00
Jarrod Johnson
74f18d5571
Client side py3 changes
2019-10-04 10:37:48 -04:00
Jarrod Johnson
44d6bde3ff
Make /usr/bin/env python point to python2
...
Same as before, more RHEL8 compatibility changes
2019-09-23 11:04:52 -04:00
Jarrod Johnson
89cf255ae7
Add '-n' option to nodeshell and noderun
...
Provide ability to suppress node prefix for nodeshell.
This for example can be a quick 'makehosts' substituted and
similar.
2019-04-11 09:17:38 -04:00
Jarrod Johnson
f88e0bca4c
Fix nodeshell hang on incomplete lines
...
readline would hang because the filehandle was really not ready.
2018-03-19 08:45:13 -04:00
Jarrod Johnson
d04f6cc858
Accept '-f' as alias for '-c'
...
In xCAT, '-f' meant 'fanout' and it's harmless for us to support
both.
2018-01-24 09:26:18 -05:00
Jarrod Johnson
8acb59d967
Fix noderun/nodeshell filehandle exhaustion
...
noderun/nodeshell failed to close filehandles on child
exit.
2018-01-11 12:40:53 -05:00
Jarrod Johnson
e63d7f9fe3
Correct typo in the nodeshell command
...
The November 6th change contained a typo.
2017-11-15 09:41:01 -05:00
Jarrod Johnson
78dea26d06
Switch glob suppression to detection
...
The suppression was unable to be accomplished for bash without
somehow otherwise breaking the shell. zsh and csh could be better at
one-off glob disabling though.
2017-11-13 11:49:40 -05:00
Jarrod Johnson
cc4950ef75
Opportunistically grab and sort by node
...
If output comes close enough together, make some effort to group it
so that it will have a higher tendency of looking orderly. This of
course only does so when it does not interfere with quickly presenting
the data.
2017-11-06 15:47:59 -05:00
Jarrod Johnson
f5889e7029
Add '-c' to manage noderun/nodeshell concurrency
...
Allow user to specify custom parallel count.
2017-11-06 14:51:59 -05:00
Jarrod Johnson
a571faa215
Implement collate command
...
Also adjust output to be less buffered for sake of '-w' and other
pipe commands.
2017-08-09 17:08:52 -04:00
Jarrod Johnson
c8fbb58ae9
Correct overzealous deletion
...
Selection error caused if statement to have syntax error.
2017-08-03 09:41:21 -04:00
Jarrod Johnson
05715c6826
Fix noderun in same way as nodeshell
...
noderun had a similar issue about error handling.
2017-08-03 08:40:58 -04:00
Jarrod Johnson
5d7df6dceb
Fix error handling in nodeshell
...
nodeshell needed to process errors correctly, and not assume databynode would be there.
2017-08-03 08:39:04 -04:00
Jarrod Johnson
dbcc33629a
Fix nodeshell overeager parsing
...
In the case of execing to ssh, preserve literal argumants since
ssh is going to parse them. Pre-parsing will cause ssh to strip out spaces, for example.
2017-08-03 08:33:29 -04:00
Jarrod Johnson
e0cc67f57a
Implement Lenovo Thinksystem and discovery support
2017-06-20 14:56:24 -04:00
Jarrod Johnson
2bc7a0c21f
Change permissions of nodeshell
2017-04-27 16:49:05 -04:00
Amanda Duffy
342c1fb499
Add nodeshell
2017-04-27 16:44:19 -04:00