Jarrod Johnson
198d8b3e47
Add flag to disable expression expansion
...
Some scenarios that do not use the {} feature may
find it difficult to pre-format. Allow
such cases to opt out.
2022-04-08 10:28:11 -04:00
Jarrod Johnson
2b8c8e9af9
Add support for specifying login name in nodeshell
2021-12-03 08:03:09 -05:00
Jarrod Johnson
e1a4f370b2
Implement node name subtitution in nodeshell
...
If wanting to ssh to 'altenative interfaces', provide -s to facilitate that
behavior, with added flexibility
compared to previous incarnations.
2021-05-25 15:46:22 -04:00
Jarrod Johnson
dcdd453112
Delete trailing whitespace
2020-05-07 09:30:31 -04:00
Jarrod Johnson
3f53c55a66
Add custom port to nodeshell
...
Permit use of an alternative
port in nodeshell.
2020-05-07 08:27:16 -04:00
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