-
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
"setting autostart for network default" fails linux/kvm2/libvirt #10297
Comments
Currently it is not possible to "opt-out" of this, it is done for both default network and private network. Having a toggle for it could work. // always ensure autostart is set on the network
autostart, err := n.GetAutostart()
if err != nil {
return errors.Wrapf(err, "checking network %s autostart", name)
}
if !autostart {
if err := n.SetAutostart(true); err != nil {
return errors.Wrapf(err, "setting autostart for network %s", name)
}
}
// always ensure the network is started (active)
active, err := n.IsActive()
if err != nil {
return errors.Wrapf(err, "checking network status for %s", name)
}
if !active {
if err := n.Create(); err != nil {
return errors.Wrapf(err, "starting network %s", name)
}
} EDIT: We do have a
|
ok, I'm gonna take a look at it. what would be the most similar option that does something like this? |
Some kind of mix between kvm-network and kvm-hidden perhaps |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Steps to reproduce the issue:
Full output of failed command:
** Some additional info **
the
default
network in my libvirt installation is a transient network bridge, i.e. it's defined outside of libvirt and "imported" into it. Even if I try to set it to "autostart" with libvirt tools, libvirt complains that it's not possible:… so maybe minikube shouldn't try to configure the "default" network in libvirt when it is working perfectly fine?
The text was updated successfully, but these errors were encountered: