Closed amanka closed 6 years ago
Thanks for bringing this up @amanka. Unfortunately there is no good API for us to call into at the moment to know which VMs are available in different regions. That said I think we can do a better job at surfacing the right error. When I tried out your config and looked at the traffic we do see an error in the initial poolCreate call:
HTTP/1.1 400 The value provided for one of the properties in the request body is invalid.
The body of that message should give us a better understanding of the real issue.
I will look into fixing the error message.
fixed with #241
The F*v2 series is available in US East, but not US West.
https://azure.microsoft.com/en-us/pricing/details/batch/ (toggle between US East and West to see).
When trying to spin up a batch type that isn't available, the failure message is vague. I get the canonical machine type names from here.
I assume this is because of the machine type being unavailable, but I don't have an East US batch account to try it with. If this is the case, a better error message would be helpful. Pages like this are some of the only ways to get a list of acceptable Azure names for doAzureParallel, and they don't indicate the regions for machines.
Instruction to repro the problem if applicable
Make
f2.json
:Try to load it:
sessioninfo():