-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
systemd-networkd-wait-online.service delays boot for 2 minutes #1277
Comments
Thanks for the detailed issue. We might be able to decouple the dependency with localkube and waiting for this systemd network unit anyways. That might be worth looking into. Right now, we have two code paths that support systemd and non-systemd because of legacy reasons. We should just delete the non-systemd code, since we don't plan on supporting those images anymore. |
After investigating a bit, the same issue is occuring with KVM.
which may not be needed as if we are able to ssh to the machine we can assume that the bridge is up |
Closing. We have removed this dependency in #1298 and it seems to have reduced startup time noticeably. |
Snappy 👍 Thank you! |
Is this a BUG REPORT or FEATURE REQUEST? : Bug report
Minikube version: v0.17.1
Environment:
What happened:
minikube start
takes >2min to finish.What you expected to happen:
minikube start
takes less time, since networking is available.How to reproduce it:
Just run
minikube start
and waitAnything else do we need to know:
It seems most of the time is spent on systemd-networkd-wait-online.service:
journal entries:
This could point to a network issue. However, right after the VM boots, it's possible to
ping 8.8.8.8
immediately.Running
/lib/systemd/systemd-networkd-wait-online
manually also hangs for 2 minutes after the system is fully booted:It could be related to this issue systemd/systemd/issues/5154
The text was updated successfully, but these errors were encountered: