[
https://issues.apache.org/jira/browse/AIRFLOW-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905232#comment-16905232
]
ASF subversion and git services commented on AIRFLOW-5169:
----------------------------------------------------------
Commit f483683e0c5ec72dd089e15aeca3b8307e49d834 in airflow's branch
refs/heads/v1-10-test from Kaxil Naik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=f483683 ]
[AIRFLOW-5169] Pass GCP Project ID explicitly to StorageClient in GCSHook
(#5783)
(cherry-picked from 1211675651cf9831a2ab8aabbc99eb34a310a643)
> Pass GCP Project ID explicitly to StorageClient in GCSHook
> ----------------------------------------------------------
>
> Key: AIRFLOW-5169
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5169
> Project: Apache Airflow
> Issue Type: Bug
> Components: gcp
> Affects Versions: 1.10.4
> Reporter: Kaxil Naik
> Assignee: Kaxil Naik
> Priority: Major
> Fix For: 1.10.5
>
>
> If Project_id is not passed to the StorageClient it tries to infer the
> Project_ID from the environment variables or Cloud SDK.
> If neither env variables is set nor Cloud SDK is configured it will error
> with the following message:
> {code}
> google.auth.exceptions.DefaultCredentialsError: Could not automatically
> determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or
> explicitly create credentials and re-run the application. For more
> information, please see
> https://cloud.google.com/docs/authentication/getting-started
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)