← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1624079] Re: KeyError on "subnet_dhcp_ip = subnet_to_interface_ip[subnet.id]"

 

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

commit c0d0986e8b7412f7c37db799177dc529ce9045d2
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Sun Sep 25 15:49:19 2016 -0700

    Correct fix for IPv6 auto address interfaces
    
    This is a partial revert of d1fb4238306f854ab610204a50c5cdc20ea5c770.
    That patch attempted to allow the DHCP agent to manage IPv6 interfaces
    to avoid a KeyError in the subnet_interface_map. However, this led
    to races with router advertisements and static configuration
    (see bug 1627902).
    
    The correct fix was actually a very simple conditional that was broken
    because this map shouldn't have been referenced for IPv6 subnets in
    the first place. The force metadata option was shortcutting the whole
    evaluation so the agent was trying to add a metadata route to a v6
    subnet.
    
    This patch undoes the v6 changes from
    d1fb4238306f854ab610204a50c5cdc20ea5c770, corrects the conditional,
    and adds a simple unit test that ensures the branch doesn't throw
    and error.
    
    Closes-Bug: #1624079
    Change-Id: Ide494b6333a4f1e279ab58aa27c0aa719e79545d


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1624079

Title:
  KeyError on "subnet_dhcp_ip = subnet_to_interface_ip[subnet.id]"

Status in neutron:
  Fix Released

Bug description:
  The networking-ovn gate-tempest-dsvm-networking-ovn job is seeing
  KeyErrors on "subnet_dhcp_ip = subnet_to_interface_ip[subnet.id]".  It
  is unclear yet if this is contributing to the recent job failures.

  LogStash Query:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22subnet_dhcp_ip%20%3D%20subnet_to_interface_ip%5Bsubnet.id%5D%5C%22

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1624079/+subscriptions


References