Pass service_mac to _get_ovn_dhcpv6_opts when syncing

Bug #1681621 reported by Dong Jun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Dong Jun

Bug Description

Otherwise a warning occurred for stateless DHCP because _get_ovn_dhcpv6_opts get a new random mac and options mismatch.
 WARNING networking_ovn.ovn_db_sync [req-d06637a5-e471-44f5-b51d-9c66a7df8ca1 None None] DHCP options for subnet 6e07788a-e9db-4008-b855-227da431ec1e is present in Neutron but out of sync for OVN

subnet info
+-------------------+-------------------------------------------------------------------------------+
| Field | Value |
+-------------------+-------------------------------------------------------------------------------+
| allocation_pools | {"start": "fda3:a412:89af::2", "end": "fda3:a412:89af:0:ffff:ffff:ffff:ffff"} |
| cidr | fda3:a412:89af::/64 |
...
| enable_dhcp | True |
| gateway_ip | fda3:a412:89af::1 |
| host_routes | |
| id | 6e07788a-e9db-4008-b855-227da431ec1e |
| ip_version | 6 |
| ipv6_address_mode | dhcpv6-stateless |
| ipv6_ra_mode | dhcpv6-stateless |
| name | v6_sub |
...
+-------------------+-------------------------------------------------------------------------------+

Dong Jun (dongj)
Changed in networking-ovn:
assignee: nobody → Dong Jun (dongj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (master)

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

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

Reviewed: https://review.openstack.org/455677
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=24c5ca9ca0e39ed5ad6477985f30f84b42e7d3e1
Submitter: Jenkins
Branch: master

commit 24c5ca9ca0e39ed5ad6477985f30f84b42e7d3e1
Author: Dong Jun <email address hidden>
Date: Tue Apr 11 19:42:20 2017 +0800

    Pass original mac to _get_ovn_dhcpv6_opts when syncing

    Pass original mac to _get_ovn_dhcpv6_opts when syncing, otherwise a
    warning occurred for stateless DHCP because _get_ovn_dhcpv6_opts uses
    a new random mac and then options do not match.

    Change-Id: Id24083953f2eab4ef7e5035a3eece76e007e002f
    Closes-Bug: #1681621
    Signed-off-by: Dong Jun <email address hidden>

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 3.0.0.0b2

This issue was fixed in the openstack/networking-ovn 3.0.0.0b2 development milestone.

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.