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
antrea-agent failed to start on windows #2013
Comments
@anfernee are you aware of this PR which updates the documentation to run antrea as a Windows service: https://github.com/vmware-tanzu/antrea/pull/1874/files. Maybe it will help you? @lzhecheng could you help triage the issue? |
@antoninbas Thanks for the doc. I am not aware of the change. I did essentially the same or equivalent thing as described in the doc. |
@anfernee Thanks, I am hoping that @lzhecheng can reproduce the issue |
I will look into it. |
@anfernee I searched this error and it seems to be a common issue. Newer OS may introduce this issue. Can you try to downgrade or uninstall a patch in current VM first? My Windows version is 17763.1457, slightly newer than yours. |
It's pretty concerning if newer os image would introduce the issue. I've seen other issues, and microsoft guys recommended to install the latest patches which fixed those issues. It's like a moving target now. I think we should provide something like support matrix for windows, or a recommended windows version and patches to install (or not to install), so users know in advance what to choose and what to expect. Right now, it's more like a coin toss. |
This seems very os version dependent. can you help address this issue on the newer windows? |
@anfernee yes, I will try. |
Thanks @lzhecheng This kubernetes/kubernetes#100736 will help reproduce the issue. |
@anfernee The reason is that there's a docker network “l2bridge” on the Node which is created by google cloud init script. As a result, when creating "antrea hsnnetwork", the request is rejected. If the docker network can be deleted, antrea-agent should be started successfully. |
Is this issue resolved? It seems that the only action item for the Antrea community is to improve the error log: #2213 |
I think we can resolve this one and track the error log improvement in #2213. |
Closing this issue and use #2213 to track. |
Make sense. This can be closed. |
Describe the bug
antrea-agent failed to start on windows with the following error:
One difference from the windows guide is that I ran antrea-agent and kube-proxy as windows service directly in root namespace, not as a daemonset pod.
To Reproduce
Actually I am trying to add antrea support in kubernetes's
kube-up
script. This is how I found this problem. It's still a working in progress: https://github.com/anfernee/kubernetes/tree/antrea-kubeup but it summarized how I found the issueExpected
Not to crash
Actual behavior
Crashing
Versions:
Please provide the following information:
kubectl version
). If your Kubernetes components have different versions, please provide the version for all of them: v1.21.0 (unreleased in master)uname -r
). 10.0.17763.1697 and 10.0.17763.1757modinfo openvswitch
for the Kubernetes Nodes.Additional context
Add any other context about the problem here, such as Antrea logs, kubelet logs, etc.
(Please consider pasting long output into a GitHub gist or any other pastebin.)
The text was updated successfully, but these errors were encountered: