Skip to content

Releases

v0.56.2

Choose a tag to compare

@henderlabs henderlabs released this 24 Nov 23:28
a277dd4

PyXie 0.56.2: metrics retention policy is honoured

Found on CRE: Policies > Metrics retention was set to 200 days, but the nightly prune always kept 400 days and deleted nothing.

  • The nightly prune now uses the Metrics retention policy. Values are clamped to 60-3650 days, so a typo can't wipe the history rightsizing and capacity need; a missing or malformed policy still means 400 days.
  • The policy's description now says the prune runs nightly and always keeps at least 60 days.

No database migration. Tests: 11 new tests for the retention lookup and prune; full suite passes apart from two lock-scan tests that need Linux /proc (unchanged).

v0.56.1

Choose a tag to compare

@henderlabs henderlabs released this 24 Nov 23:15
10f79f1

PyXie 0.56.1: sign-in no longer stalls on the login page

Found live on CRE: after a correct sign-in the browser stayed on the login page with the button enabled again, so the login looked failed. The dashboard appeared only after repeated clicks or a reload, up to about a minute later. Every login had actually succeeded.

  • Sign-in goes straight to the dashboard. The login page started a page switch and then refreshed straight away; in Next 14.2 the refresh cancelled the switch. It now does a full page load, and the button stays disabled while the dashboard loads.
  • Sign-out had the same race and gets the same fix.

No database migration. Checks: type-check and production build pass.

v0.56.0

Choose a tag to compare

@henderlabs henderlabs released this 13 Nov 22:48
5733a1f

PyXie 0.56.0: containers in maintenance and migration

Found during a QA run on the lab: Evacuate / Maint Mode failed at its last step with "1 workload(s) still running" although every VM on the host was stopped. The running guest was a container, which the plan never listed. This release makes containers first-class in maintenance and fixes the start-at-boot gap found the same day.

  • Containers are planned. Evacuate / Maint Mode, Full Maintenance and Evacuate list every running container (CT badge) with a choice: Restart migrate (stop, move, start; a short outage, because Proxmox cannot move a container live) or Shut down, restart after. The plan and the final "nothing still running" check now use the same guest list, so a running guest can no longer be silently left out. A container with a host-path bind mount is listed as blocked, with the reason.
  • Restart migration for containers (new): preview, approval, move, read-back verification. Container disks only go on storages that hold container disks; PyXie picks one and the preview refuses any other with a plain reason (a first live test failed cleanly at Proxmox on an NFS share without that content type).
  • Maintenance page Workloads panel shows containers ("N guests (x VMs, y CT)"). Bulk Migrate stays VM-only and is greyed out when a container is ticked.
  • Plan rows keep the guest name. A guest with several local disks used to push its name out of the row; the name now has its own space and the disk detail wraps beneath it.
  • Start at boot during maintenance. Stopped guests with Start at boot on were powered on by Proxmox after a reboot even in maintenance mode. Full Maintenance now has the same per-guest choice as Evacuate / Maint Mode, with Leave stopped as the default when the host stays in maintenance mode (needs VM.Config.Options; the row says so when the token lacks it). Exit Maintenance Mode restores Start at boot for guests turned off by either operation (found and fixed during live testing: it used to restore nothing).
  • After a reboot, PyXie says what started by itself. It waits for Proxmox's boot-time start-all step, then lists guests that started on their own, in the task log and on the completed task. A new Health warning flags any guest running on a host that is in maintenance mode.
  • Containers are not touched by Balance Load or automatic balancing.

No database migration. Tests: 700 automated tests; each change was exercised on the st-pyxie lab with real guests (container restart migration between hosts, a full Evacuate / Maint Mode and Exit with start-at-boot restore, two real host reboots).

Known gaps: the Full Maintenance start-at-boot path is covered by unit tests and shares its code with Evacuate / Maint Mode, but was not run end to end; storage-move cancel does not apply to containers.

v0.55.4

Choose a tag to compare

@henderlabs henderlabs released this 05 Nov 21:10
e8349fe

Tested on the st-pyxie lab. One database migration (0090), one new setting.

New

  • One plan for a power action on several VMs. On Maintenance > Workloads, tick the VMs and pick Graceful Shutdown, Start or Force Stop from the action bar. You get one plan and one approval instead of one per VM. The plan card lists what will run, what is skipped (already in that state or blocked), and shows each VM's result as it finishes. Cancel stops the VMs not yet started. A failed VM does not stop the others; the plan ends Failed with a summary if any did not complete. Force Stop still needs a justification and is never an automatic fallback.
  • Runs several VMs at once. New limit in Settings > Workers > Limits, "Guests started or stopped at once" (default 3, 1 to 10).
  • One selection feeds the whole Maintenance workloads panel. The separate "search for the VM" step is gone; the action bar sits at the bottom and Migrate opens its review table for the ticked VMs.
  • High RAM is explained. PVE counts file cache as used memory, so a healthy VM can read 90%. When a VM is at 80% or more, the workload page and the Workloads tables now say whether it is a real shortage (the guest is swapping) or just file cache, using the swap data Rightsizing already collects. Cache-only usage is drawn grey instead of amber or red. With under 7 days of data nothing is shown.

Changes

  • Rightsizing is unchanged; it already used the same swap check.

Upgrade notes

  • Migration 0090 adds the "workload.bulk_lifecycle" operation type. It is safe to run on a live server.

🤖 Generated with Claude Code

v0.55.3

Choose a tag to compare

@henderlabs henderlabs released this 04 Nov 21:43
de77fde

PyXie 0.55.3: the console account script uses a role Proxmox actually has

No database changes, no new settings.

Fixes

  • Separate console token: the account script stopped with "role 'PVEVMConsole' does not exist". Proxmox has no built-in console-only role, so the script created the console account and token but stopped before granting anything. The script now creates a custom role PyXieConsole (VM.Console only) and grants it at /vms to the console account and its token, the same way the host shell account uses PyXieShell. If an earlier script stopped part-way, run the new one again: existing accounts and tokens are left alone and only the missing role and grants are added.
  • The Setup guide reference table and docs/console.md now name PyXieConsole. The by-hand commands also grant the role to the account, because a privilege-separated token only gets privileges its account also has.

🤖 Generated with Claude Code

v0.55.2

Choose a tag to compare

@henderlabs henderlabs released this 04 Nov 19:59
30814b1

PyXie 0.55.2: hosts no longer show Down between refreshes

Tested on the st-pyxie lab. No database changes, no new settings.

Fixes

  • False "Down" badges on Hosts & Clusters. A host was shown as Down when its last update was more than 3 minutes old. On a server whose inventory refresh interval is 5 minutes (the default), every host passed that limit between refreshes, so all hosts looked down until the page was reloaded. The limit now follows the refresh interval (2.5 refresh cycles, never under 3 minutes). The Maintenance page uses the same rule.
  • The Hosts & Clusters tree now re-reads the host list every 30 seconds, so its status no longer goes stale while the page stays open.

🤖 Generated with Claude Code

v0.55.1: host page tabs

Choose a tag to compare

@henderlabs henderlabs released this 04 Nov 06:00
7d48e48

PyXie 0.55.1: host page tabs

Tested on the st-pyxie lab. No database changes, no new settings.

Fixes

  • The host page's Overview / Config / Shell tabs now sit directly under the live tiles (CPU, RAM, root disk, load), like the workload page. Clicking a tab no longer makes the page jump, because the tab bar is always on screen. Overview is still the default and shows the graphs first, then the summary cards.

v0.55.0

Choose a tag to compare

@henderlabs henderlabs released this 04 Nov 00:37
a76f9ee

PyXie 0.55.0: host shell

Tested on the st-pyxie lab (shell opened on three hosts, permission and token checks, 676 automated tests). Adds database migrations 0088 and 0089 and a new /shell-ws route on the web proxy (the updater recreates Caddy).

Host shell

  • New Shell tab on every host page: a terminal on a Proxmox host inside PyXie, like the Shell tab in Proxmox. It opens at the host's login prompt: Proxmox only signs in automatically for root@pam, so you type a Linux account (for example root) and its password yourself. PyXie never sees, stores or records them.
  • Off by default. Settings > Allow the host shell. Optional: only while the host is in maintenance mode, and an idle limit of 5 to 60 minutes (default 15). Sessions also end after 4 hours, when you sign out, and when an admin switches the feature off (within a minute).
  • You type the host name to open a session. Two shells per person, ten in total.
  • Only the open and the close are logged (who, which host, when, why it closed). What is typed is never recorded.

Who can use it

  • New per-user host shell permission (Settings > Users > Allow host shell). Off for everyone, existing admins included, so after the upgrade nobody can open a shell until an admin grants it. It needs Admin as well; changing someone to Viewer removes it. People without it do not see the tab. Granting and removing it is audited.
  • Only admins can change the shell settings or grant the permission.

Dedicated shell token

  • The shell uses its own Proxmox token (Sys.Console only, on every host), never the maintenance token. No shell token means no shell. Deleting that one token switches the feature off everywhere.
  • Set up from PyXie: Settings > Credentials > Create the Proxmox accounts > tick Host shell token, run the generated script once on a node, then add the secret under Credentials as purpose shell. Test Connection asks Proxmox what the token may do on each host (no terminal is opened) and names any host that is missing the right. Settings shows whether the token is saved and valid.
  • Guide: docs/host-shell.md.

Fixes

  • Pasted token user, id and secret are now trimmed. A trailing space from a terminal copy used to cause "illegal header" on Test Connection.
  • Switching the Overview, Config and Shell tabs on a host page no longer jumps to the top of the page.

Known limits

  • No automatic sign-in (a later, opt-in version may use an SSH key held by PyXie).
  • No session recording, by design.
  • Hosts only; use the Console tab for guests. The backup server (PBS) is not covered.
  • If you tried the lab test setup (the maintenance token with Sys.Console), remove that grant; the shell no longer uses the maintenance token.

v0.54.0

Choose a tag to compare

@henderlabs henderlabs released this 03 Nov 22:10
89b089a

PyXie 0.54.0

Tested on the st-pyxie lab (10-phase test plan, 660 automated tests, fresh-install and downgrade checks). This release adds database migrations 0078 to 0087 and host wrapper (pyxie-maint) 1.2.1.

Tasks and approvals

  • One Tasks panel: "Needs You", "Running", "Recent" (3 shown, "Show all"). Cancel buttons on running tasks: live migrations and storage moves can be cancelled and PyXie proves the guest is still on its source with no lock left.
  • The top banner now shows only what needs you: plans waiting for approval and failures. Dismissing a preview abandons the plan.
  • When a task you approved hits a busy guest or host, it now waits and retries (1, 2, 4, 5 minutes, 6 hour cap) instead of failing.

Workers and limits

  • Settings > Workers: profiles Single (default, same as before), Standard (a second quick lane) and Large. Tasks are claimed with a heartbeat so a crashed worker's task is picked up again.
  • Settings > Limits: how many migrations leave or enter one host and how many storage moves run at once (default 1, max 4). Evacuations can move several guests in parallel within those limits.
  • Fixed: the first discovery after every worker restart hung for 5 minutes.

Hosts and clusters

  • Host Config tab: description, location, DNS, time zone, /etc/hosts, start-all delay and more, with preview, approve and read-back. Host network interfaces use Proxmox's stage-then-apply model; changes to the interface PyXie itself uses are refused.
  • Restart and Shut Down a host (maintenance mode, host name typed).
  • Remove host (forget) with a decommission checklist. Hosts that left the cluster show as greyed "left the cluster" rows, and their stale maintenance flags are cleared.
  • Backup servers on Hosts & Clusters: status, datastores, last backup/verify/GC, failures.
  • Avoid-as-destination per host; "RAM n% after" on every plan candidate.

Guests

  • Config tab on every VM and container: options, network adapters (bandwidth limit, MTU), and a bulk "Change a setting..." on Workloads.
  • Evacuate/Maintenance: stopped guests on shared storage are opt-in relocation rows; "Leave stopped" for start-at-boot guests.
  • Bulk migrate gets a review step with a named blocker and per-VM storage choice; Change storage blocks live moves of TPM guests; inventory refreshes disks after a storage move.

Health and protection

  • Stale VM lock finding with a plain-language preview and one-click clearing (needs wrapper 1.2.1 on the node). Optional automatic clearing setting.
  • Missed-backup finding (30 h warning, 72 h critical; Platform > Policies).
  • Certificate: Setup guide card with root download and per-OS trust steps; Health findings for the local CA and an expiring leaf. New PYXIE_INTERNAL_CERT_LIFETIME (default 72h, max 168h) in .env.
  • Host wrapper: one-line install/update from the Setup guide with live per-host progress; same for the backup server.

Docs

New guides: Tasks panel, Host config, Guest config, Host lifecycle, Stale locks, Workers, Add a wrapper. Screenshots refreshed.

Known limits

  • Network reload and automatic stale-lock clearing are unit-tested only (not exercised live).
  • unlock-stale clears all stale locks on the node that pass its checks; containers (LXC) locks are not covered.
  • Upgrade note: the 72 h certificate setting only takes effect once the Caddy container is recreated.
  • Datacenter Manager support is not planned; certificate import/ACME management is planned for a later release.

v0.53.1

Choose a tag to compare

@henderlabs henderlabs released this 29 Oct 20:08
852dc61

v0.53.1

Maintenance page buttons.

  • Exit Maintenance Mode is now always shown. It is greyed out (with a tooltip) unless a selected node is in maintenance mode.
  • Button order is two fixed rows: Evacuate Node, Exit Maintenance Mode, Reboot Node; then Check for Updates, Apply Updates, Full Maintenance.