project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] Changing boot order does not work

Open JanK-96 opened this issue 5 months ago • 3 comments

Describe the bug

Hey there,

This issue appears to be related to Bug Report #51, which was marked as fixed in version 0.9.0.2. However, we did exerience the same problem in version 0.9.12.3 and now in 0.9.13.1.

When trying to change the boot order of a VM, we attempted to move ide2 ahead of scsi0 so the VM could boot from an ISO. When applying the change, PegaProx returned the following error:

{"message":"no options specified\n","data":null}

Steps to Reproduce

  1. Tried different VMs
  2. Tried different Clusters

Environment

  • PegaProx Version: 0.9.13.1
  • UI? Corporate Layout

Screenshots

Image

JanK-96 avatar Jun 24 '26 13:06 JanK-96

Thanks @JanK-96 — reproduced and root-caused. The boot-order validator had two bugs that hit your exact case: it only parsed the first device in the order, and it checked each device against the wrong copy of the VM config — so for a real reorder (ide2 ahead of scsi0) every device looked "missing", PegaProx stripped the boot field entirely, and PVE got an empty update → the no options specified you saw. Fixed on Testing (d670585): it now parses the full order and validates against the raw config, so the devices survive. I verified it live by reordering a cdrom/net device ahead of the boot disk on a test VM — it applies and persists now instead of erroring. It rides the next release; until you're on it, setting the boot order from the Proxmox UI directly is the workaround. Thanks for the sharp repro and the screenshot — opencollective.com/pegaprox keeps these fixes flowing. — Marcus

mkellermann97 avatar Jun 24 '26 14:06 mkellermann97

Fixed in v0.9.13.3 — boot-order edits no longer send an empty config to PVE. — Marcus

mkellermann97 avatar Jun 30 '26 21:06 mkellermann97

Can confirm! Thank you

JanK-96 avatar Jul 02 '26 05:07 JanK-96