[PVE-User] Simultaneous API call
Mohamed Sadok Ben Jazia
benjazia.mohamedsadok at gmail.com
Wed Feb 10 10:08:39 CET 2016
I'm creating LXC container using the API on proxmox 4.1
I use get("/cluster/nextid") to get the next free id to use.
The issue i encountered is when i do simultaneous number of API calls
I get proxmox trying to create containers with the same ID which gave me
trying to aquire lock...TASK ERROR: can't lock file
'/run/lock/lxc/pve-config-147.lock' - got timeout
are there a standard way to deal with this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pve-user