2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-08 08:38:33 +00:00
Commit Graph

3022 Commits

Author SHA1 Message Date
Vinícius Ferrão 1964d4a4ca Fix unbound exception variable in CalledProcessError handler 2026-05-03 12:04:37 -03:00
Vinícius Ferrão aafd6967ba Clean up iothread design rationale comment 2026-05-03 12:04:36 -03:00
Vinícius Ferrão 52f2086319 Replace eventlet CalledProcessError workaround with proper catch
The repr() check existed because eventlet broke normal exception
catching. With eventlet removed, catch CalledProcessError directly.
2026-05-03 01:45:43 -03:00
Vinícius Ferrão 0b1c40aa4a Remove stale comments that restated the obvious
Drop NullLock rationale comment (referenced removed library),
consoleserver greenthread spawn comment, and update syncfiles
CalledProcessError workaround comment.
2026-05-03 01:44:12 -03:00
Vinícius Ferrão b195429d6b Remove python3-eventlet from build deps and clean up stale references
Drop python3-eventlet from the Ubuntu Noble build Dockerfile. Clean up
remaining greenthread/greenlet terminology in comments across aiohmi
IPMI modules, consoleserver, macmap, and the IPMI plugin. Remove a
commented-out GreenPool reference in macmap.
2026-05-02 23:07:54 -03:00
Vinícius Ferrão a69d828e69 Remove eventlet dependency, migrate to asyncio/concurrent.futures
Replace eventlet.greenpool with concurrent.futures.ThreadPoolExecutor
in the BMC discovery script, using as_completed() for proper exception
propagation and main-thread result aggregation to avoid race conditions.

Remove dead eventlet socket compatibility code (.fd attribute checks)
from the IPMI session layer, and clean up stale eventlet references
in comments across the codebase.

Closes: xcat2/confluent#197
2026-05-02 22:56:39 -03:00
Jarrod Johnson 08f52b1210 Skip hashing content that didn't come from confluent
For the manifest, only things that *could* be package updated matter.

So add a parameter to let get_hashes skip files that couldn't be related.

This speeds up packimage and rebase dramatically.
2026-05-01 12:30:18 -04:00
Jarrod Johnson 7f604e3e35 Fix async handling of passed file descriptors 2026-04-30 09:25:09 -04:00
Jarrod Johnson bfc27595dc Fold aiohmi into confluent
If someone asks for it independently, we can break it out again.  But for now,
assume it's only for confluent.
2026-04-30 08:48:24 -04:00
Jarrod Johnson 75776b77a3 Provide mechanism for client session loss to trigger a teardown 2026-04-29 15:20:39 -04:00
Jarrod Johnson ee8a8bdac7 Include ommitted file from previous commit 2026-04-29 11:57:09 -04:00
Jarrod Johnson d2f23b475f Fix some failure to await 2026-04-29 11:47:55 -04:00
Jarrod Johnson ae5afc526a Fix missing rsp on return 2026-04-29 11:41:33 -04:00
Jarrod Johnson 78e5301ff8 Fix attempt to await non-async get_nowait. 2026-04-29 11:29:21 -04:00
Jarrod Johnson 5064ac80b9 Fix accidental change of iterating data in ipmi 2026-04-29 10:53:18 -04:00
Jarrod Johnson 27b951b7cb Honor 'Done' message to avoid incurring a delay after task is done. 2026-04-29 09:57:36 -04:00
Jarrod Johnson 34bc45aa9e Allow monitor to read attributes by 'all' resource. 2026-04-29 07:51:42 -04:00
Jarrod Johnson 1f969f2962 Fixes for accel redirect and port forwarding 2026-04-28 16:27:12 -04:00
Jarrod Johnson 347c7fdc1e Fix osdeploy list 2026-04-28 16:08:24 -04:00
Jarrod Johnson 16c99efda7 Correct firmware update through http api 2026-04-28 15:33:18 -04:00
Jarrod Johnson 6421097f32 Fix logging when client ip == server ip 2026-04-28 15:02:12 -04:00
Jarrod Johnson 83ac9af196 Fix for staging in async 2026-04-28 15:02:00 -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 056d690db0 Fully fix webauthn as implemented 2026-04-23 17:46:34 -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
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 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 f1f5f1b3b8 Fix issues associated with unix domain vs tls 2026-04-17 10:42:40 -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 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