Open 13567436138 opened 1 month ago
do we need other cni plugins
cni error
2024-09-17 16:40:08.573 [INFO][5812] dataplane_windows.go 431: Found existing HNS network [&{Id:C84DDB4C-022B-421A-89D5-6FBC2F5C347C Name:Calico Type:L2Bridge NetworkAdapterName: SourceMac: Policies:[] MacPools:[{StartMacAddress:00-15-5D-51-70-00 EndMacAddress:00-15-5D-51-7F-FF}] Subnets:[{AddressPrefix:10.244.15.128/26 GatewayAddress:10.244.15.129 Policies:[]}] DNSSuffix: DNSServerList: DNSServerCompartment:0 ManagementIP:192.168.229.229 AutomaticDNS:false}] ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0"
2024-09-17 16:40:08.860 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:10.158 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:11.599 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:12.888 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:14.176 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:15.498 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
2024-09-17 16:40:16.798 [WARNING][5812] dataplane_windows.go 639: Waiting for interface matching management IP... ContainerID="364be85717e1fed8d4c159e46ae0f42bf5d3cd6acfd456d49c9cab8130bfeb4c" Namespace="default" Pod="windows-pod" WorkloadEndpoint="win--f1njfokn3tm-k8s-windows--pod-eth0" error=no index found for interface "" ip="192.168.229.229" network="Calico"
cni config
{
"name": "Calico",
"cniVersion": "0.3.1",
"plugins": [{"DNS":{"Nameservers":["10.96.0.10"],"Search":["svc.cluster.local"]},"capabilities":{"dns":true},"datastore_type":"kubernetes","ipam":{"subnet":"usePodCidr","type":"calico-ipam"},"kubernetes":{"k8s_api_root":"https://192.168.229.180:6443","kubeconfig":"c:/etc/cni/net.d/calico-kubeconfig"},"log_file_max_age":30,"log_file_max_count":10,"log_file_max_size":100,"log_file_path":"c:/var/log/calico/cni/cni.log","log_level":"Info","mode":"windows-bgp","mtu":0,"name":"Calico","nodename":"win-f1njfokn3tm","nodename_file":"c:/var/run/calico/nodename","nodename_file_optional":true,"policies":[{"Name":"EndpointPolicy","Value":{"ExceptionList":["10.96.0.0/12"],"Type":"OutBoundNAT"}},{"Name":"EndpointPolicy","Value":{"DestinationPrefix":"10.96.0.0/12","NeedEncap":true,"Type":"SDNROUTE"}}],"policy":{"type":"k8s"},"type":"calico","vxlan_mac_prefix":"0E-2A","vxlan_vni":4096,"windows_loopback_DSR":true,"windows_use_single_network":true}]
}
@13567436138 from your screenshot I can see you're using a non-English version of windows, any chance the interface name has non-English characters? If so, there currently is an issue with supporting those, it was fixed in https://github.com/projectcalico/calico/pull/9062 and will be released on Calico v3.29.0, but for now the work around is to config windows to use English...
When will v3.29.0 release
Expected Behavior
allocate ip ok
Current Behavior
firewall is closed in windows
Possible Solution
Steps to Reproduce (for bugs)
1.install windows node 2.apply the yaml above 3. 4.
Context
Your Environment