antrea: antrea-agent failed to start on windows

Describe the bug antrea-agent failed to start on windows with the following error:

F0329 23:35:27.090421    3936 main.go:58] Error running agent: error initializing agent: failed during hnsCallRawResponse: hnsCall failed in Win32: The parameter is incorrect. (0x57)

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 issue

Expected Not to crash

Actual behavior Crashing

Versions: Please provide the following information:

  • Antrea version (Docker image tag): v1.13.1
  • Kubernetes version (use kubectl version). If your Kubernetes components have different versions, please provide the version for all of them: v1.21.0 (unreleased in master)
  • Container runtime: which runtime are you using (e.g. containerd, cri-o, docker) and which version are you using? docker
  • Windows kernel version on the Kubernetes Nodes (uname -r). 10.0.17763.1697 and 10.0.17763.1757
  • If you chose to compile the Open vSwitch kernel module manually instead of using the kernel module built into the Linux kernel, which version of the OVS kernel module are you using? Include the output of modinfo 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.)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

Thanks @lzhecheng This https://github.com/kubernetes/kubernetes/pull/100736 will help reproduce the issue.

I will look into it.