Skip to content

EKSPodOperator reconnection errors and log duplication #57585

@NilsJPWerner

Description

@NilsJPWerner

Apache Airflow version

3.1.1

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

We use aws access keys to authenticate against an EKS cluster to run KPO tasks. In long running tasks we get this log line, and then all the preceding logs will get re-printed.

WARNING - Failed to check container status due to permission error. Refreshing credentials and retrying.
ERROR - 'NoneType' object has no attribute 'groups'

What you think should happen instead?

No response

How to reproduce

Run a long running EKSPodOperator task using env vars for the access key

Operating System

Debian

Versions of Apache Airflow Providers

No response

Deployment

Astronomer

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions