| Summary: | Libvirt static dhcp does not work anymore - does not pass --dhcp-hostfile to dnsmasq anymore since 0.8.7 | |||
|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Jan Colpaert <bugzilla> | |
| Component: | libvirt | Assignee: | Daniel Veillard <veillard> | |
| Status: | CLOSED DUPLICATE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | unspecified | CC: | crobinso, jdenemar, xen-maint | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 670031 (view as bug list) | Environment: | ||
| Last Closed: | 2011-01-17 13:40:59 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
*** Bug 670031 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 667643 *** |
Description of problem: Version-Release number of selected component (if applicable): Problem started in 0.8.7 How reproducible: Steps to Reproduce: 1. create a default network that contains some host entries for static dhcp virsh -c qemu:///system net-edit default <network> <name>default</name> <uuid>86ca83fc-ca15-4e4c-xxxx-xxxx3c0cxxxx</uuid> <forward mode='route'/> <bridge name='virbr0' stp='on' delay='0' /> <ip address='10.10.122.1' netmask='255.255.255.0'> <dhcp> <host mac='52:54:00:01:13:11' name='backup' ip='10.10.122.11' /> <host mac='52:54:00:23:12:25' name='vm20' ip='10.10.122.20' /> </dhcp> </ip> </network> 2. dnsmasq is automaticallly restarted (or restart libvirtd) and check with ps -elfa | grep dnsmasq /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --listen-address 10.10.122.1 --except-interface lo --dhcp-range 10.10.122.1,static --dhcp-no-override 3. in py opinion, the --dhcp-hostfile /var/lib/libvirt/dnsmasq/default.hostsfile option is missing in the dnsmasq option list. The file /var/lib/libvirt/dnsmasq/default.hostsfile is however correctly generated Actual results: ps -elfa | grep dnsmasq /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --listen-address 10.10.122.1 --except-interface lo --dhcp-range 10.10.122.1,static --dhcp-no-override Expected results: /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --listen-address 10.10.122.1 --except-interface lo --dhcp-range 10.10.122.1,static --dhcp-no-override --dhcp-hostfile /var/lib/libvirt/dnsmasq/default.hostsfile Additional info: Tested on Arch Linux