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

kube-proxy ipvs: "Failed to add IPVS service" err="no such file or directory" in Alpine Linux 3.17.5 #344

Open
chymy opened this issue Oct 16, 2023 · 0 comments

Comments

@chymy
Copy link

chymy commented Oct 16, 2023

when I restart the virtual machine, the kube-proxy occasionally encounters the following error logs:

E1007 13:57:26.145807       1 proxier.go:1242] "Failed to sync service" err="no such file or directory" service="123.123.252.197:8989/TCP"
E1007 13:57:26.145840       1 proxier.go:2016] "Failed to add IPVS service" err="no such file or directory" svcName="zy/aiolcm-service-use"
E1007 13:57:26.145875       1 proxier.go:1593] "Failed to sync service" err="no such file or directory" service="194.246.5.29:31134/TCP"
E1007 13:57:26.145904       1 proxier.go:2016] "Failed to add IPVS service" err="no such file or directory" svcName="kube-system/metrics-server"
E1007 13:57:26.145924       1 proxier.go:1242] "Failed to sync service" err="no such file or directory" service="123.123.47.233:443/TCP"
E1007 13:57:26.145952       1 proxier.go:2016] "Failed to add IPVS service" err="no such file or directory" svcName="cnf/sc-gw-0-0-1:dualhttpsgw"
E1007 13:57:26.162009       1 proxier.go:1672] "Failed to get ipvs service" err="could not get IPVS services: no such file or directory"

I debug log:

syscall.Errno(-error) err: no such file or directory

https://github.com/moby/ipvs/blob/fe22ac585b3e22a969cbde61addd99ecd93ab22c/netlink_linux.go#L239-L245

I will not reproduce this issue using alpine: 3.14.7 as the base image, but I can reproduce it using alpine: 3.17.5

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

No branches or pull requests

1 participant