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

KVM: starting network minikube-net: Network is already in use by interface #9049

Closed
medyagh opened this issue Aug 21, 2020 · 4 comments · Fixed by #9641
Closed

KVM: starting network minikube-net: Network is already in use by interface #9049

medyagh opened this issue Aug 21, 2020 · 4 comments · Fixed by #9641
Labels
co/kvm2-driver KVM2 driver related issues kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@medyagh
Copy link
Member

medyagh commented Aug 21, 2020

 Not passing HTTP_PROXY=localhost:38041 to docker env.
	* Failed to start kvm2 VM. "minikube start -p functional-20200821114009-297274" may fix it: creating host: create: Error creating machine: Error in driver during machine creation: ensuring active networks: starting network minikube-net: virError(Code=1, Domain=0, Message='internal error: Network is already in use by interface br-487e1305fa05')

a seen in integration flakes
https://storage.googleapis.com/minikube-builds/logs/9045/007ad31/KVM_Linux.html#fail_TestFunctional%2fserial%2fStartWithProxy

@medyagh medyagh added co/kvm2-driver KVM2 driver related issues kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. labels Aug 21, 2020
@medyagh
Copy link
Member Author

medyagh commented Aug 21, 2020

CC: @josedonizetti

@tstromberg
Copy link
Contributor

Hmmm -- are we trying to share a single minikube network name across clusters? It seems odd that the network name is minikube-net but the VM name is functional-20200821114009-297274.

@josedonizetti
Copy link
Member

@medyagh @tstromberg The kvm driver does share the same network for all vms. To change it we need some kind of IPAM, because right now the subnet used on the network is fixed: https://github.com/kubernetes/minikube/blob/master/pkg/drivers/kvm/network.go#L41

We need a different subnet per VM.

@sharifelgamal sharifelgamal added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 27, 2020
@priyawadhwa priyawadhwa added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Nov 6, 2020
@priyawadhwa
Copy link

Closing in favor of #9610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kvm2-driver KVM2 driver related issues kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants