Bug 674356
Summary: | dnsmasq option --dhcp-lease-max prevents startup for more than 1 network | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Brian J. Murrell <brian> | ||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | crobinso, kenni, laine, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-03-12 04:55:35 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Brian J. Murrell
2011-02-01 15:44:43 UTC
Created attachment 476445 [details]
allocate a lease file per dnsmasq process
This patch uses the --dhcp-leasefile option to give each dnsmasq it's own lease file.
Duplicate of ticket #663664 - but that ticket doesn't contain a patch. An updated patch to fix this has been committed upstream: commit 13c00dde3171b3a38d23cceb3f9151cb6cac3dad Author: Laine Stump <laine> Date: Fri Mar 11 13:20:48 2011 -0500 network driver: Use a separate dhcp leases file for each network This will be in libvirt-0.9.0. *** This bug has been marked as a duplicate of bug 663664 *** (In reply to comment #3) > > This will be in libvirt-0.9.0. It's really quite a pity that libvirt-0.9.0 didn't get cut in time for FC15 (or an 0.8.x.x bugfix release with this fix in it). Since I have already fixed this bug on my Ubuntu 10.10 installation I'm afraid I'm not going to the effort to fix it again, on a brand new O/S release (FC15) and will just revert to my Ubuntu installation where this at least works. In fact, without having done a terrible amount of debugging in FC15 (since I am abandoning it anyway), it would appear, at least, that multiple dnsmasq processes sharing a dnsmasq.leases file actually overwrite the file from under each other, rather than the previous behavior where they all (at least mostly) cooperatively shared the file and one just ran out of leases quickly. (In reply to comment #5) > > It's really quite a pity that libvirt-0.9.0 didn't get cut in time for FC15 > (or an 0.8.x.x bugfix release with this fix in it). There is a new libvirt release once each month. There is also a cutoff date for rebasing packages for each new Fedora release. Whatever is the most recent release of libvirt on the cutoff date, that is the release that is put into Fedora for the release. In this case, libvirt-0.8.8 was the most recent on the F15 cutoff date. virt-related packages like libvirt are not rebased for already-released versions of Fedora, but there are two methods of getting bugfixes: 1) request that a bugfix be pulled in as a patch to the release in use on that version of Fedora. When this happens, a patch release will be made (e.g., the version will go from 0.8.8-1 to 0.8.8-2). There is no automated method for bugfixes to go into libvirt of a released Fedora, an explicit request must be made. 2) use the fedora-virt-preview repo when doing "yum update". This will give you a build of the most recent upstream release of each of the packages. The F14 instructions on the wiki page will also work for F15 (as soon as the F15 version of the repo is online): http://fedoraproject.org/wiki/Virtualization_Preview_Repository For a list of all the packages included in virt-preview, see: http://repos.fedorapeople.org/repos/jforbes/virt-preview/fedora-14/x86_64/ I am following up with jforbes to learn when the F15 incarnation of the virt-preview repo will be created. |