Skip to content

Give EKS delete operations longer to ride out ResourceInUseException - #73219

Merged
o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:fix-eks-fargate-resource-in-use-retry-window
Sep 15, 2026
Merged

o-nikolas merged 1 commit into
apache:mainfrom
aws-mwaa:fix-eks-fargate-resource-in-use-retry-window

Conversation

@vincbeck

Copy link
Copy Markdown
Contributor

EKS keeps rejecting DeleteFargateProfile and DeleteCluster with ResourceInUseException, saying the cluster has an update in progress, for over ten minutes after a Fargate profile becomes ACTIVE. DescribeCluster reports the cluster as ACTIVE throughout, so no sensor or waiter can detect the state and wait it out beforehand; the operator's retry window is the only thing that covers it, and five minutes was not enough.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

EKS keeps rejecting DeleteFargateProfile and DeleteCluster with
ResourceInUseException, saying the cluster has an update in progress, for over
ten minutes after a Fargate profile becomes ACTIVE. DescribeCluster reports the
cluster as ACTIVE throughout, so no sensor or waiter can detect the state and
wait it out beforehand; the operator's retry window is the only thing that
covers it, and five minutes was not enough.
@vincbeck
vincbeck requested a review from o-nikolas as a code owner September 15, 2026 18:59
@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Sep 15, 2026

@SameerMesiah97 SameerMesiah97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending green CI

@o-nikolas
o-nikolas merged commit 2b8a371 into apache:main Sep 15, 2026
83 checks passed
@o-nikolas
o-nikolas deleted the fix-eks-fargate-resource-in-use-retry-window branch September 15, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants