Skip to content

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

Open

Description

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

Activity

  1. dpwatrous commented on Mar 11, 2022

    @dpwatrous
    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

  2. dpwatrous commented on Mar 11, 2022

    @dpwatrous
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions