← 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/375791
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d1fb4238306f854ab610204a50c5cdc20ea5c770
Submitter: Jenkins
Branch:    master

commit d1fb4238306f854ab610204a50c5cdc20ea5c770
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Thu Sep 22 23:38:33 2016 -0700

    Fixes for missing IPs on subnets in DHCP agent
    
    There is a race condition server-side where a port request containing
    a subnet_id is processed at the same time the subnet is being deleted,
    the port operation may be successful without having a fixed IP on the
    requested subnet. This patch makes the DHCP agent resillient to this
    bug by checking the port response and raising a SubnetMismatchForPort
    to trigger a resync if it doesn't have all of the requested subnet IDs.
    
    Additionally, it avoids skipping assignment of IPv6 addresses to the
    interface if they are stateless. The original logic to skip assignment
    was only meant to be for SLAAC addresses.
    
    Both of these issues were resulting in the KeyError observed in the
    bug report.
    
    Related-Bug: #1627480
    Closes-Bug: #1624079
    Change-Id: I85ef1f4d60efd0309d6a0706e29fdbcc16f0b59d


** 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