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

Could not find valid interface on windows #944

Closed
devenfan opened this issue Feb 6, 2018 · 14 comments
Closed

Could not find valid interface on windows #944

devenfan opened this issue Feb 6, 2018 · 14 comments

Comments

@devenfan
Copy link

devenfan commented Feb 6, 2018

got issue when running flanneld 0.10 windows

flanneld  -etcd-endpoints "http://127.0.0.1:2379"  -etcd-prefix "/test/network"  -iface "10.5.225.34"
I0206 18:33:48.506022    4464 main.go:417] Searching for interface using 10.5.225.34
I0206 18:33:48.678026    4464 main.go:201] Could not find valid interface matching 10.5.225.34: error looking up interface 10.5.225.34: no index found for interface ""
E0206 18:33:48.678026    4464 main.go:225] Failed to find interface to use that matches the interfaces and/or regexes provided
@suylem
Copy link

suylem commented Feb 11, 2018

any update about this issue ? i also meet this problem.
OS: windows server 2016 core 1709 and window server 2016 version 1607
flannel version: v0.10.0

@suylem
Copy link

suylem commented Feb 24, 2018

i continued this error , after install English language on my server and set as default language

@devenfan
Copy link
Author

My windows 10 has been changed to English as below, but the error is still there with a small difference:

image

flanneld  -etcd-endpoints "http://127.0.0.1:2379"  -etcd-prefix "/test/network"  -iface "10.5.225.34"
I0225 17:44:29.893162    4932 main.go:417] Searching for interface using 10.5.225.34
I0225 17:44:30.736004    4932 main.go:201] Could not find valid interface matching 10.5.225.34: error looking up interface 10.5.225.34: route ip+net: no such network interface
E0225 17:44:30.736004    4932 main.go:225] Failed to find interface to use that matches the interfaces and/or regexes provided

As you can see above:

error looking up interface 10.5.225.34: no index found for interface

changed to:

error looking up interface 10.5.225.34: route ip+net: no such network interface

@guhuajun
Copy link

Greetings,

I have installed a new Windows Server 1709. Flanneld can find my interface.

image

@devenfan
Copy link
Author

@guhuajun You have only one network interface right?

@guhuajun
Copy link

@devenfan Yes, I do.

https://kubernetes.io/docs/getting-started-guides/windows/ mentions that Flannel and Weavenet are not yet supported. Maybe we should give up at this moment?

@devenfan
Copy link
Author

@guhuajun I think you may want to deploy Kubernetes Slaves on windows machines, and I suggest you use CentOS 7 instead.

And my problem is, how to connect docker network on different Windows machines automatically...

@funky81
Copy link

funky81 commented Feb 28, 2018

Hi all, any guidelines to develop flannel in Windows node? Thanks

@laoshancun
Copy link

laoshancun commented Oct 26, 2018

Hi all, any guidelines to develop flannel in Windows node? Thanks

same issue on 1803,any updates?

@kinglionsoft
Copy link

Same issue on Windows Server 2019.

@ekochen
Copy link

ekochen commented Nov 23, 2018

solve this issue on my env by type chcp 65001 to ues utf8 ,then re run the flannel start command

@kinglionsoft
Copy link

@ekochen You save my many many days. Thank you very much.

@ekochen
Copy link

ekochen commented Nov 27, 2018

encounter this
waiting for the Network to be created
Waiting for the Network to be created
I1127 10:24:28.829686 3668 kube.go:133] Node controller sync successful
I1127 10:24:28.829686 3668 main.go:244] Created subnet manager: Kubernetes Subnet Manager - windows-kube-139
I1127 10:24:28.832687 3668 main.go:247] Installing signal handlers
I1127 10:24:28.832687 3668 main.go:386] Found network config - Backend type: host-gw
I1127 10:24:28.833674 3668 hostgw_windows.go:73] HOST-GW config: {Name:cbr0 DNSServerList:}
I1127 10:24:28.853822 3668 hostgw_windows.go:157] Attempting to create HNSNetwork {"Name":"cbr0","Type":"L2Bridge","Subnets":[{"AddressPrefix":"10.20.4.0/24","GatewayAddress":"10.20.4.1"}]}
I1127 10:24:28.859820 3668 hostgw_windows.go:164] Waiting to get ManagementIP from HNSNetwork cbr0
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x10e43ea]

goroutine 1 [running]:
main.main()
/home/kasubra/repo/gopath/src/github.com/coreos/flannel/main.go:297 +0xbfa

i see this bug #1066

do you also have this issue?

pengweiqhca added a commit to pengweiqhca/Virtualization-Documentation that referenced this issue Jan 5, 2019
scooley pushed a commit to MicrosoftDocs/Virtualization-Documentation that referenced this issue Jan 11, 2019
@stale
Copy link

stale bot commented Jan 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 26, 2023
@stale stale bot closed this as completed Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants