some-kangaroo-13734
06/15/2022, 12:18 PMsource:
type: bigquery
config:
project_id: A
use_exported_bigquery_audit_metadata: false
profiling:
enabled: false
credential:
project_id: B
private_key_id: '${GCP_PRIVATE_KEY_ID}'
private_key: '${GCP_PRIVATE_KEY}'
client_id: '${GCP_CLIENT_ID}'
client_email: '${GCP_CLIENT_EMAIL}'
domain:
foo:
allow:
- 'A\..*'
sink:
type: datahub-rest
config:
server: '<https://xxx/api/gms>'
token: '${GMS_TOKEN}'
Error:
'Forbidden: 403 POST <https://bigquery.googleapis.com/bigquery/v2/projects/A/jobs?prettyPrint=false>: Access Denied: Project '
'A: User does not have bigquery.jobs.create permission in project A.\n'
gentle-camera-33498
06/15/2022, 1:01 PMsome-kangaroo-13734
06/15/2022, 1:01 PMgentle-camera-33498
06/15/2022, 1:02 PMsome-kangaroo-13734
06/15/2022, 1:04 PMsome-kangaroo-13734
06/15/2022, 1:04 PMsome-kangaroo-13734
06/15/2022, 1:06 PMgentle-camera-33498
06/15/2022, 1:09 PMgentle-camera-33498
06/15/2022, 1:11 PMsome-kangaroo-13734
06/15/2022, 1:11 PMsome-kangaroo-13734
06/15/2022, 1:12 PMDid you tried to execute a query using this service account on the dataset on project A to see if it has the necessary permissions?This service account can only submit queries in project B and it can reference datasets in project A in such queries
gentle-camera-33498
06/15/2022, 1:12 PMsome-kangaroo-13734
06/15/2022, 1:13 PMgentle-camera-33498
06/15/2022, 1:15 PMThis service account can only submit queries in project B and it can reference datasets in project A in such queriesI see. But I don't have anything in mind now that could be the problem.
some-kangaroo-13734
06/15/2022, 1:16 PMproject_id
comes from here: https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/source_config/sql/bigquery.py#L19gentle-camera-33498
06/15/2022, 1:23 PMsome-kangaroo-13734
06/15/2022, 1:26 PMgentle-camera-33498
06/15/2022, 1:27 PMsome-kangaroo-13734
06/15/2022, 1:39 PMsome-kangaroo-13734
06/15/2022, 1:45 PMgentle-camera-33498
06/15/2022, 2:02 PMsome-kangaroo-13734
06/15/2022, 2:06 PMimportant-wire-73
06/21/2022, 3:43 AMimportant-wire-73
06/21/2022, 3:46 AMsome-kangaroo-13734
06/24/2022, 12:56 PM