Skip to content

Instantly share code, notes, and snippets.

@emtwo
Created September 13, 2019 14:16
Show Gist options
  • Save emtwo/e1c5f92bc900c8bba6f942e9b4c2c17b to your computer and use it in GitHub Desktop.
Save emtwo/e1c5f92bc900c8bba6f942e9b4c2c17b to your computer and use it in GitHub Desktop.
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=403, message=Required "container.clusters.get" permission(s) for "projects/emtwo-252813/zones/us-central1-a/clusters/bq-load-gke-1". See https://cloud.google.com/kubernetes-engine/docs/troubleshooting#gke_service_account_deleted for more info.
[2019-09-13 14:15:30,352] {models.py:1788} ERROR - Command '['gcloud', 'container', 'clusters', 'get-credentials', u'bq-load-gke-1', '--zone', u'us-central1-a', '--project', u'emtwo-252813']' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/airflow/models.py", line 1657, in _run_raw_task
result = task_copy.execute(context=context)
File "/app/dags/operators/gcp_container_operator.py", line 52, in execute
"--project", self.project_id])
File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['gcloud', 'container', 'clusters', 'get-credentials', u'bq-load-gke-1', '--zone', u'us-central1-a', '--project', u'emtwo-252813']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment