[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
This should be fixed upstream since before 14.04, so marking fix released. if you still have this problem please comment so we can re- open. ** Changed in: libvirt (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/584910 Title: libvirt can't add host definitions to DHCP without network restart To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/584910/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
The redhat has been closed ** Changed in: libvirt Importance: Unknown = Undecided ** Changed in: libvirt Status: Unknown = New ** Changed in: libvirt Remote watch: Red Hat Bugzilla #595323 = None ** Changed in: libvirt Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/584910 Title: libvirt can't add host definitions to DHCP without network restart To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/584910/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
On the chance that it helps. I observed the following behavior: in virsh net-edit default ... add and entry(call this version 1) net-destroy default net-start default /var/lib/libvirt/network/default.xml is changed but /var/lib/libvirt/dnsmasq/default.hostfile is NOT net-edit default ... edit the MAC address on an unrelated (junk) entry (call this version 2) net-destroy default net-start default Now /var/lib/libvirt/dnsmasq/default.hostfile is changed , but it reflects the file called version 1 above. Seems to lag one version behind. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. https://bugs.launchpad.net/bugs/584910 Title: libvirt can't add host definitions to DHCP without network restart -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
Try this that has been working for me when I added a name (in /etc/hosts host's file) to the IP used by the guess: $ sudo kill -HUP `pidof dnsmasq` Howerver I get a different (related trouble): custom host definition is not honor with my configuration (even after rebooting the host). dnsmasq give a adress from the dhcp range to my VM. Here is my config /etc/libvirt/qemu/networks/default.xml network namedefault/name bridge name=virbr%d / forward/ ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.100 end=192.168.122.239 / host mac=52:54:00:bf:0f:d0 name=test ip=192.168.122.10 / /dhcp /ip /network sudo grep 52:54:00:bf:0f:d0 /etc/libvirt/qemu/*.xml /etc/libvirt/qemu/test.xml: mac address='52:54:00:bf:0f:d0'/ Do you have any idea that may explain why this doesn't work ? -- libvirt can't add host definitions to DHCP without network restart https://bugs.launchpad.net/bugs/584910 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
Ok in fact I founded why this was not working. I deleted and recreated my VM but there still was an entry corresponding to the old one in /var/lib/libvirt/dnsmasq/default.hostsfile. So I modified the MAC address and now it is working like a charm (after using HUP signal). -- libvirt can't add host definitions to DHCP without network restart https://bugs.launchpad.net/bugs/584910 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/49012026/Dependencies.txt -- libvirt can't add host definitions to DHCP without network restart https://bugs.launchpad.net/bugs/584910 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
** Bug watch added: Red Hat Bugzilla #595323 https://bugzilla.redhat.com/show_bug.cgi?id=595323 ** Also affects: libvirt via https://bugzilla.redhat.com/show_bug.cgi?id=595323 Importance: Unknown Status: Unknown -- libvirt can't add host definitions to DHCP without network restart https://bugs.launchpad.net/bugs/584910 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584910] Re: libvirt can't add host definitions to DHCP without network restart
Thank you for adding in the upstream bug reference. I am marking this Confirmed/Medium. ** Changed in: libvirt (Ubuntu) Importance: Undecided = Medium ** Changed in: libvirt (Ubuntu) Status: New = Confirmed -- libvirt can't add host definitions to DHCP without network restart https://bugs.launchpad.net/bugs/584910 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs