-
Notifications
You must be signed in to change notification settings - Fork 504
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
Network 192.168.33.10 is not available #1389
Comments
The rpm for Fedora defaults the connection to libvirt to use the session connection I'll have a look at improving the error message so that when in this mode it is flagged to users that it's not going to work (or see if it's possible to have the network creation code always use the system connection instead if it's possible to do so and have the URI work as expected). In the mean time you can either uninstall the distro rpm and install directly using Or set the following in your Vagrantfile:
|
Setting |
Steps to reproduce
$ vagrant init fedora/32-cloud-base
config.vm.network "private_network", ip: "192.168.33.10"
$ vagrant up
Expected behaviour
Virtual machine should boot.
Actual behaviour
Trying to boot fails with.
If trying second time without destroying it hangs with:
After destroying the error message is again:
If I comment out the private network config virtual machine boots up fine.
Maybe there is some extra libvirt configuration needed which is not mentioned in the docs? Also tried with other boxes such as
centos/7
andcentos/8
.System configuration
OS/Distro version::
Fedora 34 (Workstation Edition)
Libvirt version:
7.0.0-7.fc34
Output of
vagrant version; vagrant plugin list
:Attach Output of
VAGRANT_LOG=debug vagrant ... --provider=libvirt >vagrant.log 2>&1
https://gist.github.com/tuupola/3b6cc36871cf47caabd6fda0922bebd3
A Vagrantfile to reproduce the issue:
Are you using upstream vagrant package or your distros package?
Distro
The text was updated successfully, but these errors were encountered: