Skip to content

Conversation

@vincbeck
Copy link
Contributor

@vincbeck vincbeck commented Feb 5, 2025

The AWS system test example_emr_eks.py started to fail because of the error below:

botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the CreateVirtualCluster operation: Cluster XXX is not reachable as its connection is currently being updated

This error happens when trying to create the virtual cluster on EMR. The creation of this virtual cluster happens after creating the EKS cluster and waiting for its status to be active. After some testing, the creation succeeds after waiting few seconds between the creation of the EKS cluster and the virtual cluster. It must be a race condition. Retrying is the only option here since there is no notion of cluster connection status in EKS.

I also revert the change I did in #46441 because it did not help (it just happened to succeed when I changed the version, but it was a fluke ...).


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

… reachable as its connection is currently being updated"
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Feb 5, 2025
@potiuk potiuk merged commit a81e32b into apache:main Feb 6, 2025
63 checks passed
@vincbeck vincbeck deleted the vincbeck/example_emr_eks branch February 6, 2025 14:59
insomnes pushed a commit to insomnes/airflow that referenced this pull request Feb 6, 2025
… reachable as its connection is currently being updated" (apache#46497)
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
… reachable as its connection is currently being updated" (apache#46497)
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
… reachable as its connection is currently being updated" (apache#46497)
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