Open vdloo opened 9 years ago
There were regressions with the changes we introduced to the networking code recently. Prior to https://github.com/adrahon/vagrant-kvm/commit/fea85417f11260728f465fb46def1b164b35119a the dhcp entries weren't cleaned up on vagrant destroy
. Best would be to build the rubygem from source, but I am going to publish 0.2.0 as soon as I implement bridge network support.
One way to clean up you networks in the meantime is to do a virsh net-destroy vagrant && virsh net-undefine vagrant
(also for any vagrant-xxx
network, you can list them with virsh net-list
), you need to be root to do that.
I tried net-destroy and net-undefine yesterday as well on all vagrant related networks but no success. I'll wait until 0.2.0 is released but untill then I'll keep my systems on 0.1.8. Thanks for the quick response, I appreciate it.
On 12 Oct 2014, at 12:08, Alexandre Drahon notifications@github.com wrote:
There were regressions with the changes we introduced to the networking code recently. Prior to fea8541 the dhcp entries weren't cleaned up on vagrant destroy. Best would be to build the rubygem from source, but I am going to publish 0.2.0 as soon as I implement bridge network support.
One way to clean up you networks in the meantime is to do a virsh net-destroy vagrant && virsh net-undefine vagrant (also for any vagrant-xxx network, you can list them with virsh net-list), you need to be root to do that.
— Reply to this email directly or view it on GitHub.
There seems to be some kind of routing issue that appeared in the current version, running 'vagrant up' on a new box after updating to 0.1.9 results in an unreachable host. I figured the problem might be in the /etc/libvirt/qemu/networks/vagrant.xml file but after rolling back to 0.1.8 I noticed that the ip in the host entry line previously didn't match the ip address that vagrant tries to ssh to, yet it did succeed in connecting. Now after updating it fails to connect but the host entry seems to be the same as the address vagrant tries to connect to.
So while the host in the vagrant.xml using the 0.1.8 version was the following
vagrant succeeded in connecting using ssh to 192.168.123.7:22. Yet now in the updated version the host entry is the same as the address vagrant tries to ssh to, but it isn't able to connect.
I tried rebooting, using a different box, restarting libvirtd, messing with my routing table, manually removing all *xml files in /etc/libvirt/qemu and /etc/libvirt/qemu/networks but none of that seemed to fix the problem. Does anybody have any clue on what might be going wrong?