dhcp_agent only allows one dnsmasq_dns_server

Bug #1240027 reported by Jesse Pretorius
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Sylvain Afchain

Bug Description

As quantum.agent.linux.dhcp.Dnsmasq makes use of the --server command line when starting dnsmasq there can only be one server configured for the dnsmasq_dns_server option in dhcp_agent.ini

This is not ideal.

Ideally if a network is not created with its own dns server options, the options provided in dnsmasq_dns_server should be used and put into the opts file just as the network-configured options would be.

This would enable dns to work without dns options configured on the network using defaults provided by the deployer.

Tags: l3-ipam-dhcp
Revision history for this message
Mark McClain (markmcclain) wrote :

If the tenant does not define a name server for the network, the update DNS is the dnsmasq. dnsmasq will default to the servers for the network host. Are you proposing that this option be converted to a list?

Changed in neutron:
status: New → Incomplete
tags: added: l3-ipam-dhcp
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

For us using the hosts's DNS servers is not ideal as they are internal DNS servers which expose records which we'd rather not have exposed to instances. We want them to use public DNS servers instead. This is why we'd like to set the dnsmasq_dns_server option with multiple DNS servers.

Changed in neutron:
status: Incomplete → New
Changed in neutron:
assignee: nobody → Sylvain Afchain (sylvain-afchain)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/62002

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/62002
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a269541c603f8923b35b7e722f1b8c0ebd42c95a
Submitter: Jenkins
Branch: master

commit a269541c603f8923b35b7e722f1b8c0ebd42c95a
Author: Sylvain Afchain <email address hidden>
Date: Fri Dec 13 00:12:29 2013 +0100

    Allow multiple DNS forwarders for dnsmasq

    This patch change the dnsmasq_server configuration option to a ListOpt
    in order to enable user to specify multiple DNS forwarders for each
    dnsmasq instance.

    DocImpact

    Change-Id: I21963b4a6c99e4edb11040d77a6aeaa35ff44641
    Closes-bug: #1240027

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
importance: Undecided → Medium
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.