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: only wait for daemonsets if needed #2237

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

neoaggelos
Copy link
Contributor

@neoaggelos neoaggelos commented Jan 16, 2024

Summary

Fixes #2236

Description

The host-netns-non-cilium and host-netns daemonsets leveraged by the connectivity tests are only deployed in specific situations. Do not wait for them in other cases, as it blocks the tests.

Notes

Only tested on my environment, not sure if maintainers would prefer a different fix. Happy to update the PR as needed, thanks!

An alternative approach would be for WaitDaemonSet to not retry any not found errors, but that might have more unintended consequences, hence I decided not to do it like this.

The host-netns-non-cilium and host-netns daemonsets leveraged
by the connectivity tests are only deployed in specific situations.
Do not wait for them in other cases, as it blocks the tests.

Signed-off-by: Angelos Kolaitis <[email protected]>
@neoaggelos
Copy link
Contributor Author

Hi @tklauser tried to amend to kick the tires of CI, but I still seem to be getting some failures there, not sure if they are flaky or related with the changes of this PR.

@tklauser
Copy link
Member

Hi @tklauser tried to amend to kick the tires of CI, but I still seem to be getting some failures there, not sure if they are flaky or related with the changes of this PR.

The failed test looks like a timeout unrelated to this PR. I've re-triggered the respective workflow. I'll take a look at the change later on.

Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

Thanks @neoaggelos!

@tklauser tklauser merged commit c120c1f into cilium:main Jan 17, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cilium connectivity test hangs waits for missing daemonsets since v0.15.20
2 participants