You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beaker-vagrant's libvirt support was missing handling networking information. It should defer out to the defaults specified in the vagrant-libvirt plugin if no options are supplied in the nodeset.
Vagrant-libvirt functions differently than the VirtualBox defaults in that it can build a private network via Libvirt's internal private DHCP settings, and then it will establish an IP Masquerade to forward out the VM's traffic to the internet.
Also, the vagrant-libvirt plugin will handle the networking at the time of provisioning and updates to the Libvirt VM's, therefore the Vagrantfile should delete the default routes and let the plugin fix everything up.
The text was updated successfully, but these errors were encountered:
For what it's worth, I addressed this in #29 but it looks like it breaks VirtualBox. My approach was to just use the default network and not add a private IP because there's no reason you'd want that except in very specific cases.
The information below is being transferred from Jira:
Envrionment
Followed this blog post for environment setup
And then ran
export BEAKER_HYPERVISOR=vagrant_libvirt
After implementing the following code changes I was able to get the beaker nodes to work as intended with libvirt.
Suggested code changes:
lib/beaker/hypervisor/vagrant_libvirt.rb
and
Description
beaker-vagrant's libvirt support was missing handling networking information. It should defer out to the defaults specified in the vagrant-libvirt plugin if no options are supplied in the nodeset.
Vagrant-libvirt functions differently than the VirtualBox defaults in that it can build a private network via Libvirt's internal private DHCP settings, and then it will establish an IP Masquerade to forward out the VM's traffic to the internet.
Also, the vagrant-libvirt plugin will handle the networking at the time of provisioning and updates to the Libvirt VM's, therefore the Vagrantfile should delete the default routes and let the plugin fix everything up.
The text was updated successfully, but these errors were encountered: