Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connectivity: don't wait for service backends if the IP family is disabled #1801

Merged

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Jul 6, 2023

0dccab2 ("connectivity: wait for service propagation in agents") introduced an additional check to wait until all test services have been synchronized by cilium agents before starting the actual tests. Yet, this check will never succeed if the cluster is configured in dual stack mode, but only one IP family is enabled by Cilium. Indeed, the backends for the disabled IP family will never be populated. Hence, let's skip this check if the ClusterIP belongs to a disabled IP family.

Fixes: 0dccab2 ("connectivity: wait for service propagation in agents")
Reported-by: Donia Chaiehloudj

0dccab2 ("connectivity: wait for service propagation in agents")
introduced an additional check to wait until all test services have been
synchronized by cilium agents before starting the actual tests. Yet,
this check will never succeed if the cluster is configured in dual stack
mode, but only one IP family is enabled by Cilium. Indeed, the backends
for the disabled IP family will never be populated. Hence, let's skip
this check if the ClusterIP belongs to a disabled IP family.

Fixes: 0dccab2 ("connectivity: wait for service propagation in agents")
Reported-by: Donia Chaiehloudj <donia.cld@isovalent.com>
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added the kind/bug Something isn't working label Jul 6, 2023
@giorio94 giorio94 requested a review from doniacld July 6, 2023 12:32
@giorio94 giorio94 requested a review from a team as a code owner July 6, 2023 12:32
@giorio94 giorio94 requested a review from derailed July 6, 2023 12:32
@giorio94 giorio94 temporarily deployed to ci July 6, 2023 12:32 — with GitHub Actions Inactive
@giorio94 giorio94 changed the title connectivity: fix service propagation check with mismatching IP families connectivity: don't wait for service backends if the IP family is disabled Jul 6, 2023
Copy link
Contributor

@doniacld doniacld left a comment

Choose a reason for hiding this comment

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

Tested on the cluster I observed it and it is working. 🚀 Thanks!

Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

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

😇

@michi-covalent michi-covalent merged commit 76c400c into cilium:main Jul 7, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants