Heya
How do you go about race conditions when requesting to create VMs from different "callers"?
It seems Proxmox is unable to assign vmid by itself and it always needs to be supplied, and the best guess is to ask for next free vmid.
However, in anything larger than homelab in case of multiple calls being done at the same time, this results in returning of the same next free vmid to different callers.
Cheers!
How do you go about race conditions when requesting to create VMs from different "callers"?
It seems Proxmox is unable to assign vmid by itself and it always needs to be supplied, and the best guess is to ask for next free vmid.
However, in anything larger than homelab in case of multiple calls being done at the same time, this results in returning of the same next free vmid to different callers.
Cheers!