LexiVirt OS 2.2.2 — Testing Only
Status: Testing Only. Channel: testing. Not a stable release; not for production. Signed with test keys. What is still missing before this line can be called stable is listed under Not yet tested below.
2.2.2 makes LexiVirt OS updatable: signed update packages are installed from the web console (no shell, no SSH), with pre-installation checks, backup, health check, automatic rollback, recovery from interrupted updates and an administrator-driven rollback. A 2.2.1 host is upgraded from the 2.2.2 installation medium.
Files
| File | What | Size (bytes) | SHA-256 |
|---|---|---|---|
lexivirt-os-2.2.2-amd64.iso | installer ISO (BIOS and UEFI, Secure Boot; Upgrade entry for existing hosts) | 1729021952 | f08166ad06bc2faada2ebaa8995a0d44da1c6cf6781eff2ea78f0b4a362c3e1c |
lexivirt-os-2.2.2-update.tar | signed update package (what System → Updates and the ISO's Upgrade entry install) | 4392960 | 232dac1526dff4c9f9a4a56e4503398be3969ffd886d1df9fa6f00c6e2b4049e |
lexivirt-os-2.2.2-controlplane.tar.xz | control-plane release (inside the update package and the ISO) | 4379884 | 427f971fe4d02ede81b606444fa4152ec3dc0f4fe5008c7a45fa3f9306db0a8e |
lexivirt-os-2.2.2.release.json | signed release manifest for the three files above | 1575 | feb06c46e913d59a50bd417e131316581d07d56eff5935979598f2c6e47124f5 |
Check with sha256sum -c SHA256SUMS. lexivirt-os-2.2.2.release.json is the signed release manifest for these files; the update package carries its own signed manifest (update-manifest.json) for what it installs. Installation: INSTALL.md. Updates and upgrades: UPDATES.md.
New in 2.2.2
System → Updates (web console)
- Installed version, release stage (Testing only), channel, trusted release keys; automatic installation shown as off (it cannot be turned on for Testing releases).
- Check for updates against a configured update source (signed
latest.release.json), download, or upload a package from the browser. - Every package is verified on arrival (signature chain to the host's pinned root, every file's SHA-256 and size); unsigned, untrusted or damaged packages are refused, deleted and recorded in the audit log.
- Pre-installation review: upgrade path, base system and CPU capabilities (no server-model checks), schema change and whether it can be reversed, disk space, memory, running tasks, other update operations, running VMs, local changes to system files, host-restart and OS-package requirements, the changes (English and Hebrew).
- Install after typing the version; separate confirmations for replacing locally changed system files and for a required host restart (the restart itself is another explicit step, refused while VMs run).
- Live progress by phase with the updater's log, kept through the control plane's restart (the page reconnects by itself); result, errors and recovery instructions; Recover for an interrupted operation; Rollback; history.
Host updater (lexivirt-update)
- One journaled transaction: checks → prepare (release unpacked and verified, offline Python environment) → pause control plane → back up database and system files → switch release → system files → migrations → start → health check (version, schema, VMs still running with the same process) → commit.
- Failure after the pause rolls back automatically (previous release, database copy taken with the control plane stopped, system files). Kill, crash or power loss: recovered when the updater stops (systemd) or at the next boot, before the control plane starts.
- One operation at a time (host lock); new tasks are refused while an update runs; running VMs are never stopped.
- Rollback after a completed update: reverses the schema with the release's down migrations (data created since the update is kept) or, when a release has none, restores the database copy after an explicit confirmation.
- Downgrades and versions a package does not list are refused; the legacy 2.1.x line is recognized and refused with an explanation.
- Every operation goes to the update history and the audit log.
- Files are flushed to disk before they replace the old ones and before the next phase (found by the power-cut test, see below).
Installation medium
- New boot entry Upgrade an existing LexiVirt OS installation: finds LexiVirt OS on the local disks, asks for a typed confirmation, verifies the package against the installed host's own trust root and installs it with the same updater; the first boot health-checks the new version and rolls back by itself if it is unhealthy. This is how 2.2.1 hosts reach 2.2.2.
- Install LexiVirt OS 2.2.2 stays the default entry.
Other
- Database schema 2 (who started each update operation, its kind and error); reversible.
- The recovery menu, the boot-title plugin and the systemd units are now part of the release and updated with it; the recovery menu can roll back the last update.
- Every Python process the updater starts ignores the working directory (a root shell in a writable directory could otherwise load planted code).
Defects found and fixed during 2.2.2 testing
- Power loss right after an update replaced the system files left them empty (XFS, data not yet on disk). The recovery unit was then empty (systemd treated it as masked), boot-time recovery did not run and the control plane could not start. Found by the power-cut test in a VM; fixed by flushing each file before the rename and the whole tree at each phase; regression test added; the power-cut test passed on the rebuilt release.
- The updater could run code from the current directory instead of the installed release (Python puts the working directory first on its path).
- The boot-time recovery unit had no start timeout (oneshot default); a hung recovery would have held the boot forever. Now 15 minutes.
- The upgrade log reported system files as "locally changed" on 2.2.1 hosts when they were not (the check ran after the release switch; the decision itself was taken correctly before it).
Test results (details in TEST-REPORT.md)
- Automated: 104 passed, 0 skipped, including the updater integration tests on the real 2.2.1 release (kills in 9 phases, power loss in 3 phases, bad packages, local changes, rollback with and without down migrations, update source check and download) and a running QEMU VM during an update.
- Upgrade 2.2.1 → 2.2.2 from the final ISO in a VM with users, roles, an API token, a bridge with VLAN 100, bridged and NAT networks and two VMs: every item the same afterwards, schema 1 → 2, audit chain intact, no SELinux denials.
- On the upgraded host (final build): install from the web console in a browser with a VM running (same QEMU process), rollback from the Hebrew console after a schema change (data since the update kept), updater killed mid-update (rolled back), power cut mid-update (rolled back at boot; status and reason shown after the restart), rollback to 2.2.1, refused packages (unknown signer, changed byte, edited manifest), local change to a system file.
- Fresh installation of 2.2.2 (interactive, BIOS): HTTPS, administrator sign-in, VM created and running. Four boot modes reach the installation screen (BIOS CD, UEFI CD, UEFI USB, UEFI Secure Boot USB).
Not yet tested (why this release is Testing Only)
- Physical servers. Every installation, upgrade and boot test ran in QEMU software emulation; no physical server has run 2.2.1 or 2.2.2.
- Operating-system packages in an update package (
os/*.rpm) and a kernel update: implemented, not run on a host. The host-restart step was tested only up to its refusal while VMs run. - Plain UEFI full installation and upgrade (full installations and upgrades ran on legacy BIOS; Secure Boot full installation was tested in 2.2.1).
- Guests with an operating system, load and endurance, the recovery boot entry on an installed system, and an independent security review.
- Production signing keys with an offline root key (owner decision).