Search code examples
google-cloud-platformgoogle-cloud-dataprocgoogle-cloud-dataproc-serverless

compute.requireOsLogin violated in dataproc serverless


I am trying to create a batch in dataproc to run my job. After creating the batch it is failing with the error compute.requireOsLogin violated for project ...

In my organization policy this policy(compute.requireOsLogin) is enforced. Any way to mitigate this error.


Solution

  • compute.requireOsLogin needs to be disabled if you want to run Dataproc Serverless. This is as per documentation of Dataproc serverless as mentioned here.

    If you are interested in supporting Dataproc serverless while compute.requireOsLogin is enabled please follow and upvote this feature request

    Do accept the answer if it helped in resolving your question.