[PVE-User] Simultaneous API call
Mohamed Sadok Ben Jazia
benjazia.mohamedsadok at gmail.com
Wed Feb 10 10:08:39 CET 2016
Hello list,
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
this error
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...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20160210/99fd4dfe/attachment.htm>
More information about the pve-user
mailing list