Proxmox doesn't appear to honor the setting the Maximal Workers / Bulk-Action. I currently have it set to 4, and creating 21 vms simultaneously causes some to fail.
or
Several fail with
Lock handling appears to be non optimal, but wouldn't be noticed if the maximal workers operated as expected. (Not sure if it's a problem with the lock handling, or if the lock is held too long doing partition operations, but suspect it's the locking/releasing is non optimal).
When automating creating vms, is there a general preference for pvesh create, or qm clone, or some other method? or some option needed to add so that Maximal Works is honored?
Expected behavior: Only 4 (or whatever cluster Maximum Works is set to) jobs to run simultaneously, and additional requests are queued up and started after initial jobs complete.
Is there a better place to submit bug report than the forum? (I am planning on signing up for support later this month, so it's fine if you say putting in a support ticket is the best option.)
Code:
for a in `seq 201 221` ; do pvesh create nodes/pm105/qemu/103/clone --full --name cl$a --newid $a --target $( let b=${a}%3+105 ; echo pm$b ) >log.clone.$a & done
Code:
for a in `seq 201 221` ; do qm clone 103 $a --full true --name cl$a --target $( let b=${a}%3+105 ; echo pm$b ) >log.clone.$a & done
Several fail with
clone failed: cfs-lock 'storage-iSAN8LVM' error: got lock request timeout
Lock handling appears to be non optimal, but wouldn't be noticed if the maximal workers operated as expected. (Not sure if it's a problem with the lock handling, or if the lock is held too long doing partition operations, but suspect it's the locking/releasing is non optimal).
When automating creating vms, is there a general preference for pvesh create, or qm clone, or some other method? or some option needed to add so that Maximal Works is honored?
Expected behavior: Only 4 (or whatever cluster Maximum Works is set to) jobs to run simultaneously, and additional requests are queued up and started after initial jobs complete.
Is there a better place to submit bug report than the forum? (I am planning on signing up for support later this month, so it's fine if you say putting in a support ticket is the best option.)