I wrote a python script using the module multiprocessing that sends several VM creation calls in parallel using the command "az vm create".
Whenever I run this program on my local computer, everything is perfect in that if I send 10 VM creation calls in parallel, Azure creates exactly 10 VMs.
Since I wanted to automate this process, I created a VM on Azure and ran the program on the VM.
However, if I send, for example, 48 VM creation calls, Azure receives 39 VMs creation calls and creates 39 VMs.
It is not that the other VMs are made unsuccessfully; Azure just does not receive the other VM creation calls.
During that kind of process, I got an error:
Failed to retrieve image alias doc 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json'. Error: 'ConnectionError'. Use local copy instead.
I guess this error should be relevant.
Please help me fix this problem.