public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH cluster/manager 0/2] datacenter config: next-id: reject an empty range
@ 2026-11-23 15:20 Michael Köppl
  2026-11-23 15:20 ` [PATCH cluster 1/2] " Michael Köppl
  2026-11-23 15:21 ` [PATCH manager 2/2] ui: dc options: next-id: require upper to be above lower Michael Köppl
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Köppl @ 2026-11-23 15:20 UTC (permalink / raw)
  To: pve-devel

The upper boundary of the next-id range is exclusive, but the
datacenter config only rejected a lower boundary above the upper one.
Setting both to the same value was accepted and left no guest ID in
the range, so requesting the next free guest ID always failed.

1/2 fixes the check when writing datacenter.cfg, which covers API and
CLI. 2/2 adds the check in the edit window in the web UI, so that users
are already stopped from entering such a value in the web UI.


cluster:

Michael Köppl (1):
  datacenter config: next-id: reject an empty range

 src/PVE/DataCenterConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


manager:

Michael Köppl (1):
  ui: dc options: next-id: require upper to be above lower

 www/manager6/dc/OptionView.js | 13 +++++++++++++
 1 file changed, 13 insertions(+)


Summary over all repositories:
  2 files changed, 14 insertions(+), 1 deletions(-)

-- 
Generated by murpp 0.12.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-23 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 15:20 [PATCH cluster/manager 0/2] datacenter config: next-id: reject an empty range Michael Köppl
2026-11-23 15:20 ` [PATCH cluster 1/2] " Michael Köppl
2026-11-23 15:21 ` [PATCH manager 2/2] ui: dc options: next-id: require upper to be above lower Michael Köppl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal