Bug 687896

Summary: libvirt fails to setup dnsmasq to listen for DNS requests on IPv6 addresses
Product: Red Hat Enterprise Linux 6 Reporter: Laine Stump <laine>
Component: libvirtAssignee: Laine Stump <laine>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dallan, dyuan, eblake, jdenemar, mjenner, xhu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.8.7-13.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Laine Stump 2011-03-15 16:56:41 UTC
Bug 586124 documents the adding of support for IPv6 on libvirt-created virtual networks (This code came into the RHEL version of libvirt as part of the rebase documented in Bug 653985).

libvirt has always setup dnsmasq to listen for DNS requests on one defined IPv4 address for the bridge used for its virtual network implementation, but the new IPv6 support neglected to duplicate that functionality for IPv6 addresses (or for the additional IPv4 addresses now possible on a bridge due to the same patches). This makes setting up a working IPv6-only guest more difficult than it needs to be. An upstream patch already exists to remedy this problem:

    commit 47969c055ed211f5436cd5a879afb88676f59b3f
    Author: Paweł Krześniak <pawel.krzesniak>
    Date:   Mon Jan 31 21:31:57 2011 +0100

    bridge_driver: handle DNS over IPv6
    
    * dnsmasq listens on all defined IPv[46] addresses for network
    * Add ip6tables rules to allow DNS traffic to host

This patch is small, straightforward, and well contained to affect only the new functionality (any installation that isn't using IPv6 or multiple IPv4 addresses will experience exactly the same behavior as before).

Comment 2 Laine Stump 2011-03-15 17:20:38 UTC
A rebase of the upstream patch has been sent to rhvirt-patches for
consideration:

  http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-March/msg00339.html

Comment 7 errata-xmlrpc 2011-05-19 13:29:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0596.html