Jarrod Johnson
cbb52739d3
Fix a number of issues with async rework
...
Have util retain tasks that are 'fire and forget', to avoid
garbage collection trying to delete the background tasks.
Move some utilities explicitly over to asynclient/asynctlvdata that
had previously been reworked.
Implement terminal resize in new asyncssh backend.
2024-05-30 13:59:14 -04:00
Jarrod Johnson
23d0bbd047
Move nodediscover to async client
...
The work to convert had already been done, and it may be handy to make
nodediscover do some async tricks in the future.
2024-05-29 12:24:19 -04:00
Jarrod Johnson
4c3f93765f
Have async and traditional client
...
Since a lot of the traditional client did not need async,
make life easier by just having them in parallel for now.
The server must use the async client, but the client applications can
stick with the somewhat more straightforward synchronous client.
2024-05-29 12:23:05 -04:00
Jarrod Johnson
056a41c985
Fix client async invocations
2024-05-07 17:00:25 -04:00
Jarrod Johnson
0be60b1ce2
Merge branch 'master' into async
2024-04-29 10:55:58 -04:00
Jarrod Johnson
60f8f964f5
Merge pull request #144 from tkucherera-lenovo/nodebmcpassword
...
nodebmcpassword
2024-04-29 10:50:09 -04:00
tkucherera
8f01f22bb5
add password prompting and env var
2024-04-24 10:00:49 -04:00
Jarrod Johnson
afa0c0df5a
Merge branch 'master' into async
2024-04-22 14:36:42 -04:00
Jarrod Johnson
b606882327
Have collate preserve relative whitespace
...
The change to tolerate either a space or no space ended up
greedily consuming whitespace. Do best possible in two cases:
For log, use the first line as a clue, and consistently pad or not pad
according to first line. It won't catch different pad strategies, or
handle first line being indented but other lines not being indented.
For the textgroup variant, allow subsequent lines to revise the
pad downward, and accept any whitespace, not just space.
2024-04-19 08:22:32 -04:00
tkucherera
894290f577
nodebmcpassword
2024-04-03 18:46:37 -04:00
Jarrod Johnson
198ffb8be6
Advance asyncio port
...
Purge sockapi of remaining eventlet call
Extend asyncio into the credserver to finish out sockapi.
Have client and sockapi complete TLS connection including password checking
Fix confetty ability to 'create'.
2024-04-01 16:38:10 -04:00
Jarrod Johnson
4fe9e1e80b
Merge branch 'master' into async
2024-03-25 08:07:33 -04:00
tkucherera
296a0e88b4
making the use cases more generic
2024-03-24 11:41:23 -04:00
Jarrod Johnson
508adc8d03
Merge master into asyncio
2024-03-22 15:52:04 -04:00
tkucherera
466ed74961
l2traceroute
2024-03-22 11:37:51 -04:00
Jarrod Johnson
5a7d98c6b8
Enhance error reporting
...
For one, when using confluent expressions, induce {} to be an error to
trigger an error for someone trying to xargs something.
Another is to add warnings when clear does something deliberately, but
is something that might surprise a user, steering them toward
what they possibly might want to do instead.
2024-03-21 16:09:37 -04:00
Jarrod Johnson
94cb1aebc3
Work on nodeconfig async conversion
...
Refactor nodeconfig to stand a chance at async.
2024-03-15 12:50:46 -04:00
Jarrod Johnson
da63543a70
Advance the state of asyncio port
2024-03-15 12:50:04 -04:00
Jarrod Johnson
17af9c74b8
Fix nodeapply redoing a single node multiple times
2024-03-12 15:33:31 -04:00
Jarrod Johnson
91dc37d45e
Fix nodeapply redoing a single node multiple times
2024-03-12 15:32:44 -04:00
Jarrod Johnson
500a955d79
Fix confetty tab completion with async
...
async required the async client to be wrapped in sync code.
2024-03-12 13:13:19 -04:00
Jarrod Johnson
d42e8e0921
Further asyncio port of confluent
...
Advance state of basic clients to advance testing and soon start doing
deeper activity.
2024-03-06 16:50:34 -05:00
Jarrod Johnson
635ef6073c
Fix stray blank line at end of nodelist
...
Wrong indentation level for nodelist resulting in
spurious line.
2024-03-06 16:28:09 -05:00
Jarrod Johnson
3ffeef5cf3
Fix stray blank line at end of nodelist
...
Wrong indentation level for nodelist resulting in
spurious line.
2024-03-06 16:27:09 -05:00
Jarrod Johnson
0a8ec96cdf
Further progress toward asyncio
...
Basic operations can now happen with some async flows.
2024-03-04 16:18:55 -05:00
Jarrod Johnson
9757cd1ae3
Check the profile *before* rebooting systems
...
This provides a much better experience when a typo or
other mistake has a profile that is not actionable.
2023-11-16 10:20:48 -05:00
Jarrod Johnson
0434f38ea1
Add iterm and kitty image support to stats
...
This delivers improved graphics
speed and quality for selected terminals.
2023-10-13 15:25:08 -04:00
Jarrod Johnson
06ee48f702
Merge pull request #135 from tkucherera-lenovo/Nodeattrib
...
missing_shlex import in nodeattrib
2023-10-05 12:53:16 -04:00
tkucherera
77eec1a791
missing_shlex import in nodeattrib
2023-10-05 11:44:04 -04:00
Jarrod Johnson
cca0c57e90
Merge pull request #132 from tkucherera-lenovo/nodersync
...
node rsync -s switch
2023-10-02 12:57:19 -04:00
tkucherera
b63d75f2bb
change to remove to many conditionals
2023-09-29 12:07:38 -04:00
tkucherera
378929579f
Allow to be able to specify prefix as well
2023-09-28 08:56:52 -04:00
tkucherera
eee8bbb498
node rsync -s switch
2023-09-27 17:52:15 -04:00
Jarrod Johnson
3624013889
Merge pull request #130 from tkucherera-lenovo/Nodeattrib
...
Nodeattrib
2023-09-20 15:07:02 -04:00
tkucherera
5768514ba9
nodeattrib -s attrib.batch
2023-09-20 14:29:21 -04:00
weragrzeda
c7a323b370
nodelist delimiters fixed for py2 compatibility
2023-08-15 16:31:38 +02:00
root
9e070a14d4
nodelist delimiters
2023-08-15 15:58:10 +02:00
Jarrod Johnson
1695e222ec
Rename command to nodeapply, by popular demand
2023-06-22 14:16:54 -04:00
tkucherera
89af8661da
change timestamp log option from -d to -T
2023-06-12 10:51:29 -04:00
Tinashe
190ec2473b
dump log to stfout with timestamps
2023-05-31 17:39:53 -04:00
Jarrod Johnson
36e61f301a
Add a nodefreshen command
...
This aims to provide the same shortcuts as 'updatenode'
2023-05-18 15:03:29 -04:00
Jarrod Johnson
ec54ecc9cd
Fix tiling with different gravity
...
In some environments, the coordinates may be reported in a
different format. Handle the different context.
2023-04-28 09:20:31 -04:00
Tinashe
a35a7e74c3
tmux session resuse
2023-04-27 15:39:32 -04:00
Tinashe
71a263366d
wkill like command fix
2023-04-21 10:22:10 -04:00
Jarrod Johnson
ff025989c6
Restore spacing around float in nodesensors
...
The managed formatting needs
to be padded in the non-csv output.
2023-03-16 17:29:36 -04:00
Jarrod Johnson
59b07665ab
Modify float formatting again
...
Make sure at least one decimal is in a float.
Maximum precision of 5 past.
2023-02-24 12:03:43 -05:00
Jarrod Johnson
2379f6f90f
Change nodesensors format of float
...
Floats are either unnecessarily long
in normal output, or too unconstrained in CSV output.
Normalize to as many digits as 'makes sense' up to 5 digits.
5 miight seem a bit much, but one common metric is kWh, which may need
that precision over short intervals.
2023-02-22 08:41:46 -05:00
Jarrod Johnson
77ba0acee6
Merge pull request #122 from Tkucherera/nodeconsole-kill
...
nodeconsole <noderange> kill: added functionality for closing open win…
2023-02-16 16:37:07 -05:00
Tinashe
b2c773bb84
nodeconsole <noderange> kill:added functionality for closing open windowed consoles
2023-02-16 15:54:21 -05:00
Jarrod Johnson
a02f617b3d
Add DDR5 dimm to nodeinventory CLI output
2023-02-07 14:01:18 -05:00