You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Guillaume Poulin (Jira)" <ji...@apache.org> on 2019/12/03 04:28:00 UTC
[jira] [Created] (AIRFLOW-6161) GoogleCloudBaseHook delegate_to
doesn't work with GCE service account
Guillaume Poulin created AIRFLOW-6161:
-----------------------------------------
Summary: GoogleCloudBaseHook delegate_to doesn't work with GCE service account
Key: AIRFLOW-6161
URL: https://issues.apache.org/jira/browse/AIRFLOW-6161
Project: Apache Airflow
Issue Type: Bug
Components: gcp
Affects Versions: 1.10.3, 2.0.0
Environment: cloud composer
Reporter: Guillaume Poulin
Currently passing `delegate_to` to GoogleCloudBaseHook will cause a AttributeError if the credentials come from the GCE metadata since `google.auth.compute_engine.credentials.Credentials` doesn't have the method `with_subject`. This seems related to [https://github.com/googleapis/google-auth-library-python/issues/310]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)