strong-plumber-41198
01/25/2024, 6:22 PMaverage-finland-92144
01/25/2024, 6:43 PMdefault
KSA on their corresponding namespace unless you append ---service-account
to your pyflyte command.
In any case, that SA has to include an annotation that "connects" it with a GSA. The TF modules do this for the initial projects but if this is a new project (and new/different namespace) you should check that the KSA has the annotation
kubectl describe sa <default> -n <project-domain>
strong-plumber-41198
01/25/2024, 7:07 PMaverage-finland-92144
01/25/2024, 9:07 PMstrong-plumber-41198
01/26/2024, 9:34 AMflyteworkers = [
"storage.buckets.get",
"storage.objects.create",
"storage.objects.delete",
"storage.objects.get",
"storage.objects.list",
"storage.objects.update",
"bigquery.tables.create",
"bigquery.tables.delete",
"bigquery.tables.export",
"bigquery.tables.list",
"bigquery.tables.get",
"bigquery.tables.updateData",
"bigquery.routines.create",
"bigquery.models.create",
"bigquery.models.create",
"bigquery.jobs.update",
"bigquery.jobs.create",
"bigquery.datasets.delete",
"bigquery.datasets.create",
],
However, my BigQueryTask
fails with the following error:
Access Denied: Project my_flyte_project: User does not have bigquery.jobs.create permission in project my_flyte_project.
I can see from the GCP UI that the flyteworker
role has the correct updated permissionsstrong-plumber-41198
01/26/2024, 10:15 AMflytepropeller
the bigquery.jobs.create
permission.
Now I get the following error:
Access Denied: Table my-flyte-project:my_dataset.my_table: User does not have permission to query table my-flyte-project.my_dataset.my_table, or perhaps it does not exist in location EU.
• I have confirmed that the table exists and the name is correct
• I have confirmed the table exists in the EU
region
• I have checked the dataset and table and can see that the flyteworkers
service account has the inherited permissions on both from the flyteworker
rolestrong-plumber-41198
01/26/2024, 10:30 AMBigQuery Admin
to the flyteworker
service account, it still has the permission errorstrong-plumber-41198
01/26/2024, 10:45 AMflytepropeller
service accountFlyte enables production-grade orchestration for machine learning workflows and data processing created to accelerate local workflows to production.
Powered by