Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Azure concurrency problems operating Virtual Machines from REST API

$
0
0

We're trying to send several concurrent operations to Azure and it happens that it's not possible to create/destroy or power On/off more than one virtual machine at the same time. 

What we got is a response like this from the REST API:

ConflictError: Windows Azure is currently performing an operation with x-ms-requestid b1c586a11f201307805ea7451d16f993 on this deployment that requires exclusive access.

It seems to happen also with Powershell: I've found this post http://gripdev.wordpress.com/2014/03/01/start-and-stop-azure-vms-and-more-in-parallel-from-powershell/ where a PowerShell based is used by detecting certain state of the VM before sending a start/stop job but it's not enough.

How those restricted operations by deployment or cloud service work? All VM lifecycle operations are affected by this? Isn't it possible for Azure to manage concurrent operations?
Does the Management Portal solve this issue somehow?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>