[Bug] Changing boot order does not work
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
- Tried different VMs
- Tried different Clusters
Environment
- PegaProx Version: 0.9.13.1
- UI? Corporate Layout
Screenshots
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
Fixed in v0.9.13.3 — boot-order edits no longer send an empty config to PVE. — Marcus
Can confirm! Thank you