Skip to content

v0.56.0

Choose a tag to compare

@henderlabs henderlabs released this 13 Nov 22:48
· 8 commits to main since this release
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.