add dnsmasq-flags config option

Bug #1684231 reported by JuanJo Ciarlante
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Fix Released
Medium
Billy Olsen
neutron-openvswitch (Juju Charms Collection)
Invalid
Medium
Billy Olsen

Bug Description

neutron-gateway already has 'dnsmasq-flags' config, and we
should pair neutron-openvswitch's dhcp-agent config'ability
with it.

Use case: be able to preset the default dns resolvers for a
provider-network deployment that doesn't have neutron-gateway
service (ie it has enable-local-dhcp-and-metadata: True):
this is currently not possible, forcing a manual 'neutron
subnet-update ...' to each added subnet for proper dns
settings.

Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Triaged
Changed in neutron-openvswitch (Juju Charms Collection):
status: Triaged → New
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Medium
Changed in neutron-openvswitch (Juju Charms Collection):
assignee: nobody → Billy Olsen (billy-olsen)
Revision history for this message
Billy Olsen (billy-olsen) wrote :

Marking against charm-neutron-openvswitch vs charms/+source/neutron-openvswitch.

Changed in neutron-openvswitch (Juju Charms Collection):
status: Triaged → Incomplete
status: Incomplete → In Progress
status: In Progress → Invalid
Changed in charm-neutron-openvswitch:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Billy Olsen (billy-olsen)
milestone: none → 17.05
Revision history for this message
Billy Olsen (billy-olsen) wrote :

I think this is best addressed by the internal-dns feature outlined in https://specs.openstack.org/openstack/charm-specs/specs/pike/approved/internal-dns.html leveraging the new dns-servers config option.

However, the ability to set dnsmasq-flags across charms that provide for the neutron-dhcp-agent (which runs dnsmasq) should be consistent. As such, this is a bug in that it is missing a function existing elsewhere.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-openvswitch (master)

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

James Page (james-page)
Changed in charm-neutron-openvswitch:
milestone: 17.05 → 17.08
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-openvswitch (master)

Reviewed: https://review.openstack.org/461922
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-openvswitch/commit/?id=9ce49952051d880a0bed9b578ed875a25c973c42
Submitter: Jenkins
Branch: master

commit 9ce49952051d880a0bed9b578ed875a25c973c42
Author: Billy Olsen <email address hidden>
Date: Tue May 2 15:36:12 2017 -0700

    Add dnsmasq-flags to charm-neutron-openvswitch

    Add a new option to provide the ability to specify flags in the
    dnsmasq.conf file. This allows users to configure the dnsmasq
    processes used by the neutron-dhcp-agent when local dhcp and
    metadata are enabled for provider networks.

    Change-Id: I2bab8a00322afb0f81986001c86f0ef4fc535651
    Closes-Bug: #1684231

Changed in charm-neutron-openvswitch:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-openvswitch (stable/17.02)

Fix proposed to branch: stable/17.02
Review: https://review.openstack.org/468471

tags: added: sts
tags: added: stable-backport
removed: sts
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-openvswitch (stable/17.02)

Reviewed: https://review.openstack.org/468471
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-openvswitch/commit/?id=919683af6a0f161828ac8ce70f15730238a79bde
Submitter: Jenkins
Branch: stable/17.02

commit 919683af6a0f161828ac8ce70f15730238a79bde
Author: Billy Olsen <email address hidden>
Date: Tue May 2 15:36:12 2017 -0700

    Add dnsmasq-flags to charm-neutron-openvswitch

    Add a new option to provide the ability to specify flags in the
    dnsmasq.conf file. This allows users to configure the dnsmasq
    processes used by the neutron-dhcp-agent when local dhcp and
    metadata are enabled for provider networks.

    Change-Id: I2bab8a00322afb0f81986001c86f0ef4fc535651
    Closes-Bug: #1684231
    (cherry picked from commit 9ce49952051d880a0bed9b578ed875a25c973c42)

Revision history for this message
Billy Olsen (billy-olsen) wrote :

This was released in revision 241 of the neutron-openvswitch charm

Changed in charm-neutron-openvswitch:
status: Fix Committed → Fix Released
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.