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

ci: make external workload only use global DNS server in test #851

Merged
merged 2 commits into from
May 17, 2022

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented May 17, 2022

Follow cilium/cilium#19483

Only use the first configured DNS server (the global one) in the
test. Also add nslookup debug and retry options in case they are needed
for further debugging and troubleshooting.

This fixes external workload CI test on master that failed like this:

Server:		169.254.169.254
Address:	169.254.169.254#53

** server can't find clustermesh-apiserver.kube-system.svc.cluster.local: NXDOMAIN

Here an incorrect nameserver is being used by nslookup. This
169.254.169.254 is configured (now) in GKE as a nameserver for some
local names. Don't know why nslookup sometimes chooses it if no server
address is given as a parameter.

Follow cilium/cilium#19483

Only use the first configured DNS server (the global one) in the
test. Also add nslookup debug and retry options in case they are needed
for further debugging and troubleshooting.

This fixes external workload CI test on master that failed like this:

Server:		169.254.169.254
Address:	169.254.169.254#53

** server can't find clustermesh-apiserver.kube-system.svc.cluster.local: NXDOMAIN

Here an incorrect nameserver is being used by nslookup. This
169.254.169.254 is configured (now) in GKE as a nameserver for some
local names. Don't know why nslookup sometimes chooses it if no server
address is given as a parameter.

Co-authored-by: Jarno Rajahalme <[email protected]>
Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser requested review from a team as code owners May 17, 2022 12:19
@tklauser tklauser requested a review from nbusseneau May 17, 2022 12:19
@tklauser tklauser temporarily deployed to ci May 17, 2022 12:20 Inactive
…ing test

Anoter follow-up for commit f3cf001 ("clustermesh: Run `cilium`
with sudo in VM install script").

Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser force-pushed the pr/ci-externalworkloads-nslookup branch from 72c8abc to 8527ec9 Compare May 17, 2022 12:32
@tklauser tklauser temporarily deployed to ci May 17, 2022 12:32 Inactive
@tklauser
Copy link
Member Author

Successful run of the external workloads test: https://github.com/cilium/cilium-cli/runs/6470646843?check_suite_focus=true

Removing DO NOT MERGE commit.

@tklauser tklauser force-pushed the pr/ci-externalworkloads-nslookup branch from 8527ec9 to b0d1572 Compare May 17, 2022 12:50
@tklauser tklauser temporarily deployed to ci May 17, 2022 12:51 Inactive
@michi-covalent michi-covalent merged commit c345ba2 into master May 17, 2022
@michi-covalent michi-covalent deleted the pr/ci-externalworkloads-nslookup branch May 17, 2022 15:28
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.

2 participants