aloof-application-80784
12/20/2022, 3:33 PM[2022-12-19, 20:35:06 UTC] {{pod_manager.py:197}} INFO - Downloading code package...
[2022-12-19, 20:35:12 UTC] {{pod_manager.py:197}} INFO - fatal error: Unable to locate credentials
[2022-12-19, 20:35:22 UTC] {{pod_manager.py:197}} INFO - Failed to download code package from s3://*** after 6 tries. Exiting...
[2022-12-19, 20:35:23 UTC] {{pod_manager.py:337}} INFO - Running command... cat /airflow/xcom/return.json
I should note that we configured an irsa_role on the cluster with a kubernetes service account and used that to set METAFLOW_KUBERNETES_SERVICE_ACCOUNT. We are also using MWAA from AWS, and setting incluster = False after dag.py has been created.wide-battery-59962
12/20/2022, 3:43 PMUnable to locate credentials seems to be the NoCredentialsError message within the awscli package. Is there a metaflow argument to avoid trying to instantiate credentials and just make the AWS API calls which will pick up the IRSA role in the CNI?wide-battery-59962
12/20/2022, 3:48 PMhallowed-glass-14538
12/20/2022, 3:55 PMCONFIG object in the dag.py file has the same service account defined as you had set in METAFLOW_KUBERNETES_SERVICE_ACCOUNT ?
Even grepping service_account can give some insight.wide-battery-59962
12/20/2022, 3:55 PMhallowed-glass-14538
12/20/2022, 3:57 PMhallowed-glass-14538
12/20/2022, 4:00 PMwide-battery-59962
12/20/2022, 4:01 PMwide-battery-59962
12/20/2022, 4:01 PMwide-battery-59962
12/20/2022, 4:20 PMwide-battery-59962
12/20/2022, 4:21 PMwide-battery-59962
12/20/2022, 5:01 PMwide-battery-59962
12/20/2022, 5:01 PM