2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-01 07:51:33 +00:00

3050 Commits

Author SHA1 Message Date
Jarrod Johnson 18c539fcbd Take the opportunity to move on from cryptodome
Cryptodome is redundant with cryptography, which we need anyway..
2026-05-28 09:30:17 -04:00
Jarrod Johnson 6f12062ef2 Add mokmanager to symlinks 2026-05-22 16:13:54 -04:00
Jarrod Johnson 01a393bf7f Remove python3-dns, sync up the webauthn dependency 2026-05-22 11:37:53 -04:00
Jarrod Johnson 65f2a13755 Add missing dependency for el10 2026-05-22 11:19:59 -04:00
Jarrod Johnson 0f70401ad6 Port pyghmi fixes forward 2026-05-21 10:59:19 -04:00
Jarrod Johnson a3968a6e68 Support more states 2026-05-21 10:02:53 -04:00
Jarrod Johnson e8543269c5 Recognize more storage states 2026-05-20 16:14:46 -04:00
Jarrod Johnson 7787a405bc Merge pull request #210 from VersatusHPC/remove-eventlet
Comment fixup and attempted removal of eventlet workarounds that shouldn't be needed
2026-05-20 15:43:06 -04:00
Jarrod Johnson 6bf534aa56 Fix generic refish boot override handling 2026-05-20 15:29:53 -04:00
Jarrod Johnson 875c5eac2c Add UEFI HTTP boot for arm64 to recognized archs
For now, we serve up the whole image, no need to distinguish arm from x86 here yet
2026-05-20 12:38:15 -04:00
Jarrod Johnson 698b29c3c0 Fix syntax mistake 2026-05-15 08:19:53 -04:00
Jarrod Johnson a7a83f5cf0 Ensure that logoutexpiry is set if it is going to be needed 2026-05-14 17:34:25 -04:00
Jarrod Johnson d6ed984cb5 Fix async signature of xcc3 discovery 2026-05-14 17:24:06 -04:00
Jarrod Johnson fff2fa2101 Add missing dependencies for debs 2026-05-14 16:55:49 -04:00
Jarrod Johnson 0d1cd4b570 Correct path to DEFAULT_TIMEOUT 2026-05-08 14:49:57 -04:00
Jarrod Johnson 5d7e88998a Do not pass None, as some aiohttp vintages don't understand that timeout 2026-05-08 14:21:42 -04:00
Jarrod Johnson b623eea76f Update dependency information for deb/prm 2026-05-08 14:17:28 -04:00
Jarrod Johnson facf8f7cac Remove asyncore dependency 2026-05-08 10:36:48 -04:00
Jarrod Johnson 3a4c8a4cd8 Resolute build dep 2026-05-07 16:30:05 -04:00
Jarrod Johnson 0a9c4bc6a7 Block more OSes on profile check 2026-05-07 15:37:02 -04:00
Jarrod Johnson 26519ff793 Do not import if we don't have matching profile fodder 2026-05-07 14:10:05 -04:00
Jarrod Johnson 2586393a45 Implement unix socket permission controls 2026-05-07 10:07:08 -04:00
Jarrod Johnson d53113fe86 Update setup.cfg for newer python standards 2026-05-06 16:57:46 -04:00
Jarrod Johnson 060bfb0926 Add a '-r' argument to refresh site contents
If an environment manually manages all materials,
provide -r to let
them request packing of those materials
without trying to generate any of the content.
2026-05-06 08:46:09 -04:00
Jarrod Johnson 1c3ff13841 Fix newpolicy assignment 2026-05-05 16:25:06 -04:00
Vinícius Ferrão 5e26f48e10 Restore debugger eventlet backdoor comment per maintainer request 2026-05-05 17:11:22 -03:00
Jarrod Johnson cc70dcfa2b Add ca-only policy
This policy forces CA validation every time.

This also checks things like date validity.
2026-05-05 14:39:42 -04:00
Jarrod Johnson 454e1b8267 Allow a policy that only uses certificate authority
Technically this was possible before by setting
a bad fingerprint, but formalize an addpolicy
2026-05-05 11:12:16 -04:00
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