2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-17 00:50:46 +00:00
Commit Graph

6153 Commits

Author SHA1 Message Date
Jarrod Johnson 069338baf3 Write to stdout as binary
This allows better redirection.

In python3, must write to sys.stdout.buffer.  AttributeError for the unlikely event of a python2 based node being deployed.
2026-04-28 08:16:05 -04:00
Jarrod Johnson 17d3022caf Implement username by passkey 2026-04-24 15:31:16 -04:00
Jarrod Johnson e44145f978 Simplify webauthn by keeping with webauthn defaults 2026-04-24 11:40:43 -04:00
Jarrod Johnson d97eba787d Fix mistake in spec file 2026-04-24 09:29:57 -04:00
Jarrod Johnson 260443c1d6 Add Ubuntu 26.04 2026-04-24 08:35:27 -04:00
Jarrod Johnson 056d690db0 Fully fix webauthn as implemented 2026-04-23 17:46:34 -04:00
Jarrod Johnson ee32b8cefc Merge pull request #208 from forryz/fix-ubuntu-initramfs-routing
Handle confluent= boot arg and IPv4 NIC autodetect
2026-04-23 13:59:03 -04:00
Jarrod Johnson bf6a097083 Simplify webauthn implementation
Stop tracking sign counters (which weren't used).

Remove various management of transient challenges.

Co-authored-by: Copilot <copilot@github.com>
2026-04-23 12:52:47 -04:00
xu_ren_xian f269200004 Handle confluent= boot arg and IPv4 NIC autodetect
Add support for a confluent=<host> kernel argument in init-premount: configure networking, flush interfaces, autodetect the primary NIC (saved to /tmp/autodetectnic), verify TLS connectivity to the provided server, call the whoami endpoint over TLS to obtain the node name, and write results to /custom-installation/confluent/confluent.info (with fallback to copernicus on failure).

Also update casper-bottom logic to handle IPv4 manager addresses: for IPv6 the manager is still bracketed and scoped interface resolved as before; for IPv4 the script now uses the previously detected NIC (/tmp/autodetectnic) or falls back to an `ip route get <mgr>` lookup to determine DEVICE. This ensures routed IPv4 deployments work correctly.
2026-04-23 23:23:26 +08:00
Jarrod Johnson 82744c5d52 Simplify webauthn code in httpapi
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 14:17:39 -04:00
Jarrod Johnson 96d368fda6 Push second part of the webauthn rework
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 10:58:59 -04:00
Jarrod Johnson 3fecec7743 Change webauthn to aiohttp
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 10:55:49 -04:00
Jarrod Johnson 06786f202c Fix deployment/storage handling 2026-04-22 10:18:32 -04:00
Jarrod Johnson b1568ca01e Fix some issues with remote video forwarding 2026-04-21 12:42:20 -04:00
Jarrod Johnson 2c9b2a93f3 Rework async session handling 2026-04-20 17:05:39 -04:00
Jarrod Johnson 6c6dbf9c2b Fix references to headers 2026-04-20 16:53:57 -04:00
Jarrod Johnson 2835e9e804 Fix references to start_response 2026-04-20 16:39:51 -04:00
Jarrod Johnson bc5f9cf1e8 Fix mistakes in the node apoption samples 2026-04-20 09:45:44 -04:00
Jarrod Johnson 2ef0748724 Begin work to make shellserver work async 2026-04-17 16:21:33 -04:00
Jarrod Johnson 2650b11421 Rework consolesessieon to async create function 2026-04-17 16:15:03 -04:00
Jarrod Johnson 2d80647f1c Fix TSM discovery 2026-04-17 14:30:02 -04:00
Jarrod Johnson 650b1ee91f Fix collective rename of nodegroups 2026-04-17 11:56:58 -04:00
Jarrod Johnson aec1d62e44 Fix noderename 2026-04-17 11:53:46 -04:00
Jarrod Johnson fb6c8c2ff3 Convert rpc master calls that write to async 2026-04-17 11:46:42 -04:00
Jarrod Johnson e4b04e4198 Fix mistake in exception handling 2026-04-17 11:40:23 -04:00
Jarrod Johnson 3aeb1389a6 Fix indentation error 2026-04-17 10:45:45 -04:00
Jarrod Johnson f1f5f1b3b8 Fix issues associated with unix domain vs tls 2026-04-17 10:42:40 -04:00
Jarrod Johnson 67860dc7c3 Fix remote client operation with Python 3.12+ 2026-04-17 09:00:39 -04:00
Jarrod Johnson 86534b38eb Correct some collective behavior 2026-04-16 16:17:39 -04:00
Jarrod Johnson e4a00d40cc Fix reseat 2026-04-16 15:37:20 -04:00
Jarrod Johnson a26c1409db Rework several aspects of asyncio in consoleserver 2026-04-15 12:18:11 -04:00
Jarrod Johnson b4e0710a98 Correct arguments to WebConnection when getting SMM neighbors 2026-04-15 12:07:01 -04:00
Jarrod Johnson ede16c6ab0 Rework cert validation
Move a generic callback to the generic function
2026-04-15 11:22:21 -04:00
Jarrod Johnson 2c6acb0212 Fix async cert handling 2026-04-15 10:13:31 -04:00
Jarrod Johnson f4c68032e3 Change noderemove to use sync client for now 2026-04-15 10:03:57 -04:00
Jarrod Johnson 39cd8a3bcb Correct async style in various parts of configmanager and dependent core 2026-04-15 09:58:57 -04:00
Jarrod Johnson 2903e6dc23 Update dependencies for async 2026-04-14 15:30:00 -04:00
Jarrod Johnson ec1efecdae Merge branch 'master' into async 2026-04-14 13:51:36 -04:00
Jarrod Johnson c54ac530e1 Handle some environments where timedatectl does not exist 2026-04-14 13:50:12 -04:00
Jarrod Johnson 8db76b92ee Fix update of pinned cert on CA blessing 2026-04-14 10:53:34 -04:00
Jarrod Johnson 2a32fc85a6 Skip policy setting for now and take defaults. 2026-04-14 10:45:45 -04:00
Jarrod Johnson 2bd13c397d Rework for older python cryptography compatibility 2026-04-14 10:45:03 -04:00
Jarrod Johnson 5250a3a67a Pass subject to the verifier in redfish 2026-04-14 10:24:33 -04:00
Jarrod Johnson 038faaab74 Await clear node attributes 2026-04-14 09:57:33 -04:00
Jarrod Johnson a8f4c437bb Remove duplicate copy of function 2026-04-13 16:12:30 -04:00
Jarrod Johnson 9d17102f60 Await creation of the certificate 2026-04-13 16:05:55 -04:00
Jarrod Johnson f2ce13253f Properly place messages on async queue 2026-04-13 13:17:09 -04:00
Jarrod Johnson 65944a4507 For fixes for sync use of async methods 2026-04-13 13:07:10 -04:00
Jarrod Johnson 7c8cee2480 Certificate list fix 2026-04-13 12:46:04 -04:00
Jarrod Johnson 31a56f9fdc Merge branch 'master' into async 2026-04-08 16:17:23 -04:00