Jarrod Johnson
f6fc539df9
Remove disused recvmsg ctypes wrapper
...
Since going to builtin python recvmsg, remove
the ctypes wrapper.
2024-05-09 09:48:11 -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
Jarrod Johnson
e890276bf6
Advance state of collective in asyncio
...
Eventlet is nominally removed from collective manager, however the join process still
needs to be reworked, and a lot more flows need to be adjusted.
2024-04-16 16:53:45 -04:00
tkucherera
272c456435
nodebmcpassword man page
2024-04-03 18:50:46 -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
1fbaee6149
Further move toward asyncio and reduce PyOpenSSL dep
...
Since we are rebasing to at least Python 3.6, and with
some extra ctypes wranging of the ssl context, we can likely
remove PyOpenSSL. Take first steps by removing it from 'sockapi'.
Have confluent executable become the 'top level' for eventlet, to allow
work on 'de-eventleting' on 'main.py'.
Rework tlvdata to deal with either a socket or a reader, writer tuple.
Using TLS with asyncio is easiest with the 'open_connection'
semantics, which force either a Protocol handler (callback based) or
dual streams. While protocol approach ends with a more socket-like
'transport', the 'protocol' half is a bit unwieldy. So reader and writer
streams instead.
2024-03-29 16:23:45 -04:00
Jarrod Johnson
668c5af261
Bugfix and rework consoleserver a bit
...
Fix incorrect syntax in ssh.py, and correct direct asyncio
call of sock_recv when it must be called on the loop.
2024-03-25 15:18:05 -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
tkucherera
838c0920eb
l2traceroute
2024-03-22 11:37:12 -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
cdefb400f9
Expose fingerprinting and better error handling to osdeploy
...
This allows custom name and pre-import checking.
2024-03-11 13:33:15 -04:00
Jarrod Johnson
4f92e3413a
Expose fingerprinting and better error handling to osdeploy
...
This allows custom name and pre-import checking.
2024-03-11 13:32:45 -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
b60b78327f
Merge pull request #134 from tkucherera-lenovo/Nodeattrib
...
Nodeattrib
2023-10-04 16:32:32 -04:00
tkucherera
2e84c73baa
''
2023-10-04 16:27:05 -04:00
tkucherera
67f607a8f1
fix to synopsis
2023-10-04 16:26:20 -04:00
tkucherera
eca1854d56
fix to env doc
2023-10-04 10:37:41 -04:00
tkucherera
ba90609f3b
documentation for nodeattrib -s
2023-10-04 10:36:58 -04:00
tkucherera
c8094276d0
typ0_fix
2023-10-04 10:34:07 -04:00
tkucherera
d299db3442
doc
2023-10-04 10:31:24 -04:00
tkucherera
9f168aee73
docs- batch file systax
2023-10-04 10:28:16 -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
bd0b16992d
man page
2023-09-20 14:42:17 -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