← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618674] [NEW] dhcp agent throwing KeyError setting-up port

 

Public bug reported:

Found this KeyError in the dhcp-agent log file from a tempest test:

http://logs.openstack.org/14/356714/4/check/gate-tempest-dsvm-neutron-
dvr-multinode-
full/cbdf339/logs/screen-q-dhcp.txt.gz#_2016-08-30_22_07_04_149

ERROR neutron.agent.dhcp.agent [req-4e94ba84-1ed6-43d8-acbc-20089babac6d tempest-NetworksTestDHCPv6-620333947 -] Unable to enable dhcp for f08de6cf-0815-456c-84bd-1ceff273c018.
ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/dhcp/agent.py", line 115, in call_driver
ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 211, in enable
ERROR neutron.agent.dhcp.agent     interface_name = self.device_manager.setup(self.network)
ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 1220, in setup
ERROR neutron.agent.dhcp.agent     port = self.setup_dhcp_port(network)
ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 1192, in setup_dhcp_port
ERROR neutron.agent.dhcp.agent     for fixed_ip in dhcp_port.fixed_ips]
ERROR neutron.agent.dhcp.agent KeyError: u'adb32792-59e1-48a9-a4ea-9d3181e80ea4'

I think the test is test_dhcpv6_64_subnets(), but it's definitely in the
class.

logstash found a lot of these, so it's happening pretty frequently.

** Affects: neutron
     Importance: High
         Status: New

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

Title:
  dhcp agent throwing KeyError setting-up port

Status in neutron:
  New

Bug description:
  Found this KeyError in the dhcp-agent log file from a tempest test:

  http://logs.openstack.org/14/356714/4/check/gate-tempest-dsvm-neutron-
  dvr-multinode-
  full/cbdf339/logs/screen-q-dhcp.txt.gz#_2016-08-30_22_07_04_149

  ERROR neutron.agent.dhcp.agent [req-4e94ba84-1ed6-43d8-acbc-20089babac6d tempest-NetworksTestDHCPv6-620333947 -] Unable to enable dhcp for f08de6cf-0815-456c-84bd-1ceff273c018.
  ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
  ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/dhcp/agent.py", line 115, in call_driver
  ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
  ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 211, in enable
  ERROR neutron.agent.dhcp.agent     interface_name = self.device_manager.setup(self.network)
  ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 1220, in setup
  ERROR neutron.agent.dhcp.agent     port = self.setup_dhcp_port(network)
  ERROR neutron.agent.dhcp.agent   File "/opt/stack/new/neutron/neutron/agent/linux/dhcp.py", line 1192, in setup_dhcp_port
  ERROR neutron.agent.dhcp.agent     for fixed_ip in dhcp_port.fixed_ips]
  ERROR neutron.agent.dhcp.agent KeyError: u'adb32792-59e1-48a9-a4ea-9d3181e80ea4'

  I think the test is test_dhcpv6_64_subnets(), but it's definitely in
  the class.

  logstash found a lot of these, so it's happening pretty frequently.

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


Follow ups