Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a job with a "maxParallelTasks" parameter greater than zero causes an error: Forbidden #124

Open
oleg-babintsev opened this issue Feb 22, 2022 · 2 comments
Labels
documentation Documentation issues

Comments

@oleg-babintsev
Copy link

Problem Description

Adding a job with a "maxParallelTasks" parameter greater than zero causes an error: Forbidden
Reason: Property maxParallelTasks is not enabled for current account

Documentation has no information about any limitations: https://docs.microsoft.com/en-us/rest/api/batchservice/job/add#request-headers

Additional Logs

...
azure.batch.models._models_py3.BatchErrorException: Request encountered an exception.
Code: Forbidden
Message: {'additional_properties': {}, 'lang': 'en-US', 'value': 'Access is Forbidden\nRequestId:d49b9b23-1a78-42d5-a00d-b4037e5fb441\nTime:2022-02-22T10:57:57.6311327Z'}
Reason: Property maxParallelTasks is not enabled for current account
@dpwatrous
Copy link
Member

Thanks for pointing this out. The maxParallelTasks property is currently enabled for specific accounts only. It also requires enableInterNodeCommunication to be set to true, which is part of the reason it isn't enabled everywhere yet. We'll work on updating the documentation to make this less confusing.

If you would like to enable it for an account, please submit a support request using the "New Support Request" option on the Batch account in the Azure Portal.

Screen Shot 2022-03-11 at 2 58 54 PM

@dpwatrous
Copy link
Member

dpwatrous commented Mar 11, 2022

On second thought, I'll leave this issue open until we have the documentation update in place.

@dpwatrous dpwatrous reopened this Mar 11, 2022
@alfpark alfpark added the documentation Documentation issues label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation issues
Projects
None yet
Development

No branches or pull requests

3 participants