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

multinode: dns not working for pods on nodes where CoreDNS is not present #10984

Closed
prezha opened this issue Apr 5, 2021 · 0 comments · Fixed by #10985
Closed

multinode: dns not working for pods on nodes where CoreDNS is not present #10984

prezha opened this issue Apr 5, 2021 · 0 comments · Fixed by #10985
Assignees
Labels
area/cni CNI support area/dns DNS issues co/coredns CoreDNS related issues co/multinode Issues related to multinode clusters kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.

Comments

@prezha
Copy link
Contributor

prezha commented Apr 5, 2021

example:

failing "TestMultiNode/serial/DeployApp2Nodes" test log extract (from https://storage.googleapis.com/minikube-builds/logs/10792/4e34b35/KVM_Linux.html#fail_TestMultiNode%2fserial%2fDeployApp2Nodes):

...
multinode_test.go:426: (dbg) Run:  out/minikube-linux-amd64 kubectl -p multinode-20210329232030-517232 -- exec hello-f45cbcf6d-4q7vp nslookup kubernetes.io
multinode_test.go:426: (dbg) Non-zero exit: out/minikube-linux-amd64 kubectl -p multinode-20210329232030-517232 -- exec hello-f45cbcf6d-4q7vp nslookup kubernetes.io: exit status 1 (5.278758422s)
-- stdout --
-- /stdout --
** stderr ** 
	kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
	nslookup: can't resolve '(null)': Name does not resolve
	nslookup: can't resolve 'kubernetes.io': Try again
	command terminated with exit code 1
** /stderr **
multinode_test.go:428: Pod hello-f45cbcf6d-4q7vp could not resolve 'kubernetes.io': exit status 1

multinode_test.go:426: (dbg) Run:  out/minikube-linux-amd64 kubectl -p multinode-20210329232030-517232 -- exec hello-f45cbcf6d-f7hgg nslookup kubernetes.io
multinode_test.go:426: (dbg) Non-zero exit: out/minikube-linux-amd64 kubectl -p multinode-20210329232030-517232 -- exec hello-f45cbcf6d-f7hgg nslookup kubernetes.io: exit status 1 (5.254324315s)
-- stdout --
-- /stdout --
** stderr ** 
	kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
	nslookup: can't resolve '(null)': Name does not resolve
	nslookup: can't resolve 'kubernetes.io': Try again
	command terminated with exit code 1
** /stderr **
multinode_test.go:428: Pod hello-f45cbcf6d-f7hgg could not resolve 'kubernetes.io': exit status 1
...

/assign

@prezha prezha added area/cni CNI support area/dns DNS issues co/coredns CoreDNS related issues co/multinode Issues related to multinode clusters kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. labels Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cni CNI support area/dns DNS issues co/coredns CoreDNS related issues co/multinode Issues related to multinode clusters kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant