2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 00:42:20 +00:00
Commit Graph

7035 Commits

Author SHA1 Message Date
Jarrod Johnson 399da7ffcc Merge remote-tracking branch 'xcat/master' 2026-10-29 10:28:50 -04:00
Jarrod Johnson d25c3f3ff0 Merge pull request #315 from Obihoernchen/fix/server-rsync-dependency
Recommend rsync for server file synchronization
2026-10-29 10:28:10 -04:00
Jarrod Johnson cb92a3f332 Merge pull request #320 from robertcaliman/rcaliman/add-vroc-support-for-esxi
Add support for Intel VROC in ESXi
2026-10-29 10:27:44 -04:00
Jarrod Johnson 302afc5b06 Fix issues with various '/' included in tab completion 2026-10-29 10:12:20 -04:00
Robert Caliman cd3c337880 Add support for Intel VROC in ESXi 2026-10-29 16:12:18 +02:00
Jarrod Johnson 472ea95314 Do not enable mouse tracking in read-only screenshot mode
When resizing, need to only capture mouse if
we are actually set to handle them.
2026-10-29 09:00:47 -04:00
Jarrod Johnson ac1ce55387 Rework drawing and resize in nodeconsole -tv
Move work out of the signal handler

Have the full resize happen in the draw worker.

Have resize events be skipped if the resize doesn't keep up.

After a redraw, discard queue items that would have had wrong geometry.

No more weird lag on resize and no more stray misshapen screenshots after resize.
2026-10-28 17:39:39 -04:00
Jarrod Johnson 41f0d7cca2 Avoid spurious output in setupssh 2026-10-28 15:19:35 -04:00
Jarrod Johnson 8864030a76 Implement advisory rate limiting for ssh certificate signing requests 2026-10-28 13:18:55 -04:00
Jarrod Johnson 7812b90097 Create fish completion files per command, as fish requires 2026-10-28 08:59:56 -04:00
Jarrod Johnson 3ac8539a9d Add fish completions 2026-10-28 08:33:09 -04:00
Jarrod Johnson 8e37f7619d Add error message to a build failure 2026-10-27 15:25:41 -04:00
Jarrod Johnson 2a0ecc1cd6 Fix nodeconsole -tv resize misbehavior
After resize, mouse didn't work.

Also, if resizing during a redraw, bad things would happen. Use the draw_worker to do redraws one at a time.
2026-10-27 15:16:39 -04:00
Jarrod Johnson 05cfea34d6 Correct check for architocture
It is incorrect and redundant within the aarch64 path
2026-10-27 13:45:39 -04:00
Jarrod Johnson 3925c6dcbc Fix arm64 and bios netboot
First, try to offer shim

Second, make sure boot.ipxe is as permissive as the shim variant.
2026-10-27 12:10:19 -04:00
Jarrod Johnson 310e1dd3c2 Track the relative coordinates
After sizing, report the cursor location and use that to correct for mouse coordinates.

Also, nudge kitty to draw under any text that might appear.
2026-10-27 09:45:40 -04:00
Jarrod Johnson 8023f436c1 Fix URL shortening for ARM boot
The special ARM accommodation for dubious firmware behavior failed to include the URL shortening for unreasonably long profile names.
2026-10-26 15:44:49 -04:00
Jarrod Johnson c00230384f Add ssh://' support for CONFLUENT_HOST
This handles Unix domain forwarding over ssh on behalf of the user.

Extends to the nodeconsole -tv, which is particularly handy for faster video (VNC over ssh instead of base64 whole screen updates).
2026-10-26 13:28:36 -04:00
Jarrod Johnson 6426a081c0 Skip writing image data that matches current
For example, when a cursor is blinking and a recording is happening,
we may get the same frame as already on screen.
Skip such an update.
2026-10-26 09:32:42 -04:00
Jarrod Johnson c192fff69a Add click on titlebar behavior
Also, increase drain time as some scenarios still bled notification on the terminal.
2026-10-25 13:45:50 -04:00
Jarrod Johnson 841c0880b2 Fix alignment of mouse movement
Instead of using the total allocated cell region, correct based on the image on screen.
2026-10-25 09:51:04 -04:00
Jarrod Johnson 648d423d57 Merge remote-tracking branch 'xcat/master' 2026-10-25 09:36:34 -04:00
Jarrod Johnson 184e198463 Add some mouse handling
mouse can now set focus (click/ctrl-click)

mouse movement and clicks can be sent through

Still TODO:
Do something with clicks in 'title' area, and see about fixing the misalignment due to image not filling the full cell geometry.
2026-10-25 09:35:46 -04:00
Markus Hilger d62d5fcbba Merge pull request #319 from Obihoernchen/nightlydate
Add build date to nightly release notes
2026-10-24 03:33:01 +02:00
Markus Hilger f8932bc6c1 Add build date to nightly release notes 2026-10-24 03:22:18 +02:00
Markus Hilger e43a124d50 Merge pull request #318 from Obihoernchen/fixci
Pin Ubuntu versions and fix python 3.8
2026-10-24 03:14:45 +02:00
Markus Hilger 72886e24e7 Pin Ubuntu versions and fix python 3.8 2026-10-24 03:12:48 +02:00
Jarrod Johnson 49a0374d35 Add shift-tab to nodeconsole -tv 2026-10-23 17:06:05 -04:00
Jarrod Johnson 406fe2aff9 Implement an osdeploy export 2026-10-23 09:20:48 -04:00
Jarrod Johnson 81646e54c8 Implement osdeploy import for tarred profiles
Advance an ease of use for moving diskless/cloned profiles between confluents.
2026-10-22 11:41:57 -04:00
Markus Hilger d1bb59e7c8 Merge branch 'master' into fix/server-rsync-dependency 2026-10-21 20:42:29 +02:00
Jarrod Johnson 220da39877 Request cursor encoding
OpenBMC iKVM injects nonsensical cursor without it.

For now store the cursor, but currently not used.  It's a rare payload so not worth skipping the processing.
2026-10-21 13:29:49 -04:00
Jarrod Johnson 1777c80969 Add retry to image fetch 2026-10-21 08:54:51 -04:00
Jarrod Johnson 91174e4a5c Fix getaddrinfo call in redirect calls 2026-10-20 15:42:10 -04:00
Jarrod Johnson 37f6a0b061 Slide unrecognized create requests to 'update' in proxmox 2026-10-20 15:21:46 -04:00
Jarrod Johnson 3f979f2de5 Merge remote-tracking branch 'xcat/master' 2026-10-20 13:43:59 -04:00
Jarrod Johnson 337dc6c638 Adjust debian recommends 2026-10-20 13:39:56 -04:00
Markus Hilger 4e55d9f1e8 Add error message if rsync is missing 2026-10-20 19:32:47 +02:00
Markus Hilger fcdd31167b Recommend rsync for server file synchronization
Add rsync to the server RPM recommends and Debian recommends lists so syncfiles works on minimal management nodes.

Fixes #314
2026-10-20 19:26:56 +02:00
Jarrod Johnson a0657d768f Add a recommends rsync
Some functionality requires rsync.  However some want the flexibility in skipping it.

Split the difference with a recommends
2026-10-20 08:03:36 -04:00
Jarrod Johnson ed9062f7bd Merge pull request #312 from Obihoernchen/ci/nightly-packages
Build and publish nightly packages
2026-10-15 14:21:39 -04:00
Markus Hilger bb7563ec51 Add status badges to the README
Replace the static license badge with a live one, and add badges for CI,
the nightly build, the latest release and the documentation. The docs
badge carries the Octicons book icon (MIT, GitHub Inc.) inline, as
Simple Icons has no generic one.
2026-10-15 20:12:49 +02:00
Markus Hilger 6c48cb4fad Build and publish nightly packages
Build the rpms for EL9, EL10 and SUSE 16 and the debs for Ubuntu noble
and resolute, each for x86_64 and aarch64, install every set on a clean
container and publish them as a rolling nightly pre-release. Each
release asset is one target's bundle: all of its packages, repository
metadata and an INSTALL.txt.

Besides the in-tree components this packages confluent_ipxe from the
iPXE release roms and the browserfs and vinz helpers from their own
repositories. The osdeploy utils are built where buildrpm builds them,
el7 for the x86_64 el8bin set, so they still run on the oldest targets.
Genesis is left out for now.

Noarch packages are built once, in the x86_64 legs, and the aarch64 legs
build only what is architecture specific. Build tools are installed
without weak dependencies, while the smoke tests keep the distribution
defaults, since they stand in for a user's install.

Scheduled runs skip the build when neither confluent nor the helper
repositories moved since the last published nightly. Pull requests that
touch the packaging build and test without publishing.
2026-10-15 20:12:49 +02:00
Jarrod Johnson c36f99e250 Merge pull request #311 from Obihoernchen/fix/nightly-packaging
Packaging fixes for clean installs on EL9, EL10 and SUSE 16
2026-10-15 14:10:21 -04:00
Markus Hilger f25d121fc5 Version the Python package rpms with ~dev as well
confluent_client and confluent_server rpms took the PEP 440 version
setup.py needs, 4.0.1.dev5+g..., which rpm sorts after 4.0.1: a
released package did not upgrade a development build of it. Stamp the
rpm with the ~dev form the other packages already use and keep .dev only
for setup.py and the sdist name. The debs already sort right, since
stdeb rewrites .dev to ~dev.
2026-10-15 19:20:16 +02:00
Markus Hilger b1ed925e40 Fall back to libcrypt when no crypt module imports
Python 3.13 dropped crypt from the stdlib, and openSUSE Leap 16 packages
neither legacycrypt nor crypt_r, so the server did not start there
without a pip install. Both of those only call crypt(3) from libcrypt,
which every distribution ships, so do that through ctypes as the last
resort, serialized because crypt(3) returns a static buffer. Its hashes
match the stdlib module byte for byte.

Move the import chain both callers carried into confluent.pwcrypt. The
legacycrypt Recommends is no longer needed.
2026-10-15 19:20:16 +02:00
Markus Hilger b86e0aa27f Make webauthn and eficompressor optional server dependencies
Neither is packaged by EPEL or Ubuntu, so the hard dependency made the
server uninstallable there without --nodeps or a stub package. Both are
already optional in the code: httpapi drops passkey support when
webauthn does not import, and the Lenovo IMM2 BIOS settings path reports
the missing module as unsupported functionality. Recommend them instead,
as the SUSE branch already does for webauthn.

See xcat2/confluent#192.
2026-10-15 19:20:16 +02:00
Markus Hilger 41ecfeccf4 Drop pasted shell session from the iPXE spec
The spec carried a copy of a terminal session after %changelog: a shell
prompt followed by a second full copy of the spec. Also fix the
debug_package macro name typo.
2026-10-15 19:20:16 +02:00
Jarrod Johnson 3bb3b48cd0 Remove directive ruff doesn't need or want 4.0.0 2026-10-14 09:07:30 -04:00
Jarrod Johnson 7460f66e23 Workaround some bad pysnmp assumptions about importing importlib 2026-10-14 09:04:43 -04:00