Hello Proxmox team,
First, thank you for the great product!
I am encountering an issue when using the Proxmox API in my C# application with the Corsinvest.ProxmoxVE.Api library. Specifically, when I send multiple requests to clone a VM (e.g., cloning 20 VMs simultaneously), the API returns a success message for all requests, even when there are errors on the web server side.
For example, I receive a success response even when the server encounters an error like:
"create full clone of drive ide0 (local-lvm:vm-588-disk-0)
trying to acquire lock...
TASK ERROR: clone failed: can't lock file '/var/lock/pve-manager/pve-storage-local-lvm' - got timeout"
I have tried using the async await functions as well as the WaitForTaskToFinishAsync function in my code, but in both cases, the server still responds with a success message, implying that the VM was cloned successfully even though it wasn’t.
Is there a way to accurately detect such errors when using the Proxmox API, or am I missing something in the implementation?
Thank you for your attention!
First, thank you for the great product!
I am encountering an issue when using the Proxmox API in my C# application with the Corsinvest.ProxmoxVE.Api library. Specifically, when I send multiple requests to clone a VM (e.g., cloning 20 VMs simultaneously), the API returns a success message for all requests, even when there are errors on the web server side.
For example, I receive a success response even when the server encounters an error like:
"create full clone of drive ide0 (local-lvm:vm-588-disk-0)
trying to acquire lock...
TASK ERROR: clone failed: can't lock file '/var/lock/pve-manager/pve-storage-local-lvm' - got timeout"
I have tried using the async await functions as well as the WaitForTaskToFinishAsync function in my code, but in both cases, the server still responds with a success message, implying that the VM was cloned successfully even though it wasn’t.
Is there a way to accurately detect such errors when using the Proxmox API, or am I missing something in the implementation?
Thank you for your attention!