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

Standardize service account roles for stats-pipeline node pool #86

Open
stephen-soltesz opened this issue Nov 15, 2021 · 1 comment
Open

Comments

@stephen-soltesz
Copy link
Contributor

The stats-pipeline nodepool is created with service account authorization. The roles/permissions assigned in our standard projects are very different.

mlab-sandbox

  • BigQuery Admin
  • Storage Object Admin

mlab-staging

  • bigquery.jobs.create

mlab-oti

  • bigquery.jobs.create
  • bigquery.jobs.list
  • bigquery.savedqueries.get
  • bigquery.savedqueries.list
  • resourcemanager.projects.get

These should be the same.

I discovered this by trying to run the staging annotation export query and received permission denied error for base_tables.tcpinfo

{"CompletedSteps":["exports"],"Errors":["Error while exporting tcpinfo: googleapi: Error 403: Access Denied: Table mlab-staging:base_tables.tcpinfo: User does not have permission to query table mlab-staging:base_tables.tcpinfo., accessDenied"]}
@stephen-soltesz
Copy link
Contributor Author

Autoscaling was not enabled in production data-processing cluster for the stats-pipeline nodepool.

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

No branches or pull requests

1 participant