← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1324194] [NEW] keyerror while updating dhcp port

 

Public bug reported:

When an update for a dhcp port fails, a keyerror on missing network_id
while attempting to log a trace masks the underlying exception. An
example is here:

http://logs.openstack.org/91/94891/1/check/check-tempest-dsvm-
neutron/c87b4fc/logs/screen-q-svc.txt.gz?level=TRACE

This is because on update, the dhcp agent only sends either this:

https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L770

or this:

https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L787

Port uuid is always there, so we might be better off using it instead.

** Affects: neutron
     Importance: Undecided
     Assignee: Armando Migliaccio (armando-migliaccio)
         Status: New


** Tags: l3-ipam-dhcp

** Tags added: l3-ipam-dhcp

** Changed in: neutron
     Assignee: (unassigned) => Armando Migliaccio (armando-migliaccio)

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

Title:
  keyerror while updating dhcp port

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When an update for a dhcp port fails, a keyerror on missing network_id
  while attempting to log a trace masks the underlying exception. An
  example is here:

  http://logs.openstack.org/91/94891/1/check/check-tempest-dsvm-
  neutron/c87b4fc/logs/screen-q-svc.txt.gz?level=TRACE

  This is because on update, the dhcp agent only sends either this:

  https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L770

  or this:

  https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L787

  Port uuid is always there, so we might be better off using it instead.

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


Follow ups

References