DHCP agent fails to match IPv6 clients when used with dnsmasq < 2.67

Bug #1408297 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Ihar Hrachyshka
Juno
Fix Released
Undecided
Unassigned

Bug Description

DHCP agent fails to match IPv6 clients when used with dnsmasq < 2.67.

This is because MAC address matching support for IPv6 was added in 2.67 only.

We should bump minimal dnsmasq version in DHCP agent.

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/145482

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 012ffe86752416cd55269924d6236cdfac6b7434
Author: Ihar Hrachyshka <email address hidden>
Date: Wed Jan 7 13:23:48 2015 +0100

    Bump minimal dnsmasq version to 2.67

    Versions prior to 2.67 did not support MAC address matching for IPv6 clients.
    Quoting dnsmasq CHANGELOG:

    "
    version 2.67
    [...]
        Support identification of clients by MAC address in
        DHCPv6. When using a relay, the relay must support RFC
        6939 for this to work. It always works for directly
        connected clients. Thanks to Vladislav Grishenko
        for prompting this feature.
    "

    Change-Id: I2f7dba6e3f8ea4ddebe7638d908b2ae42997225a
    Closes-Bug: #1408297

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

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/145784

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/juno)

Reviewed: https://review.openstack.org/145784
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=097607aa8bdf1dd73b83257b439a78a7dec0fb88
Submitter: Jenkins
Branch: stable/juno

commit 097607aa8bdf1dd73b83257b439a78a7dec0fb88
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Jan 8 14:54:35 2015 +0100

    Issue warning when running DHCP agent with dnsmasq < 2.67

    dnsmasq < 2.67 does not support hwaddr matching for IPv6 clients, meaning IPv6
    stateful subnets fail to provide IP addresses to instances.

    Quoting dnsmasq CHANGELOG:

    "
    version 2.67
    [...]
        Support identification of clients by MAC address in
        DHCPv6. When using a relay, the relay must support RFC
        6939 for this to work. It always works for directly
        connected clients. Thanks to Vladislav Grishenko
        for prompting this feature.
    "

    We cannot just exit as we do for dnsmasq < 2.63 since that would potentially
    break DHCP agent startup for users that fetch the fix from git without bumping
    dnsmasq version.

    Appropriate release note will be added to notify operators about
    incompatibility issue.

    Change-Id: I9ef5c1a7cf564651b11b983185bd8d6b625a04dd
    Closes-Bug: #1408297

tags: added: in-stable-juno
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-2 → 2015.1.0
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.