You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2019/08/12 14:00:00 UTC

[jira] [Resolved] (AIRFLOW-5169) Pass GCP Project ID explicitly to StorageClient in GCSHook

     [ https://issues.apache.org/jira/browse/AIRFLOW-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik resolved AIRFLOW-5169.
---------------------------------
    Resolution: Fixed

> 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)