2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-21 09:52:24 +00:00
Commit Graph

7017 Commits

Author SHA1 Message Date
Robert Caliman cd3c337880 Add support for Intel VROC in ESXi 2026-10-29 16:12:18 +02: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
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
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
Jarrod Johnson 059f4811fe Merge pull request #310 from Obihoernchen/feature/trustnodes-none
Allow ssh.trustnodes=none to trust no other nodes
2026-10-13 13:02:11 -04:00
Markus Hilger 1b446f4773 Add empty nodegroup hint to ssh.trustnodes 2026-10-13 18:52:22 +02:00
Jarrod Johnson 964fe24c57 Fix the tls profile syntax of setupnokia example script 2026-10-13 11:18:11 -04:00
Jarrod Johnson 25ecf590dd Persist error during streaming
Also, do not start input tasks until handshake actually completese.
2026-10-13 10:21:36 -04:00
Jarrod Johnson 5f4b41c501 Cleanup and handle reconnection of nodeconsole -tv
Also fix screenshot to vnconly target
2026-10-13 09:29:08 -04:00
Jarrod Johnson ddc0339dd7 Add strictness to TLS cipher list 2026-10-13 08:16:14 -04:00
Jarrod Johnson 28316ae9bd Make close async 2026-10-12 15:24:22 -04:00
Jarrod Johnson 3d805fa342 Fixup for closing vnc session 2026-10-12 13:27:56 -04:00
Jarrod Johnson 6d87d3e7a1 Do not print an empty line with empty nodelist 2026-10-12 08:57:47 -04:00
Jarrod Johnson eb6c026ac8 Enable aggressive rescan to specifically note Lenovo XCC 2026-10-09 16:58:02 -04:00
Jarrod Johnson a6e89c1543 Fix register
Ensure info_identifier is set if it was not set by way of safe_detected first.
2026-10-09 16:44:51 -04:00
Jarrod Johnson ea926aab12 Improve snoop behavior
For one, at the time an XCC emits a NOTIFY, it's DeviceDescription.json is also very sluggish.  Extend timeout
knowing this may be delayed.

Further, if snoop comes back with only one address family, do not
perturb existing address families.
2026-10-09 16:32:49 -04:00
Jarrod Johnson 5a201e1bde Handle pysnmp5 from ubuntu 24.04 repos 2026-10-09 15:26:41 -04:00
Jarrod Johnson ed1a002704 Merge pull request #307 from qisback/proxmox-fixes
Proxmox fixes
2026-10-09 09:20:12 -04:00
Laurence bf94c84da4 proxmox: pin the API certificate where it can be stored; accept API tokens
- A manager that is not a confluent node is pinned on the guest's node
  (pubkeys.tls_hardwaremanager), as the console already does.
- user@realm!tokenid with the token secret is accepted as the login;
  VNC needs a password login and says so.
2026-10-08 22:04:29 +01:00
Laurence 8c743b934c InputBootDevice: keep a per-node persistent flag as the persistent flag
A per-node request stored 'persistent' in bootmodebynode, so
persistent() stayed False and bootmode() returned a boolean.
2026-10-08 22:04:26 +01:00
Laurence 4fada65934 proxmox: fix the plugin's error handling, power and boot order
- Route every API call through one checked path: non-2xx answers raise
  with PVE's message, a 401 logs in again, a migrated guest is re-mapped.
- Report login failures other than 401 instead of a TypeError.
- Power changes are bounded and reported per node; 'on' when on is a
  no-op; every live QEMU state counts as on.
- Read and set the boot order in every form PVE accepts, keeping disks.
- Stop toggling Content-Type on the shared client headers.
- Inventory from the current config, all SMBIOS forms.
- Refuse ambiguous guest names; skip templates.
- Keep the serial console alive and report how it ends.
- Let the self-test run without a config manager.
2026-10-08 22:04:24 +01:00
Jarrod Johnson 1c1a56f764 Merge pull request #306 from Obihoernchen/proxmox-vnc-manager
Connect Proxmox VNC sessions through the manager
2026-10-08 14:35:35 -04:00