Ok, the notification is like this:
[...]
self._update_network_ports(device_details['network_id'],
device_details['port_id'],
device_details['device'])
self.ext_manager.handle_port(self.context, device_details)
registry.notify(local_resources.PORT_DEVICE,
events.AFTER_UPDATE, self,
context=self.context,
device_details=device_details)
In fact, in the environment this appears, there is an agent extension that
modifies [1] device_details. Ouch.
Updating affected project accordingly...
** Also affects: networking-bagpipe
Importance: Undecided
Status: New
** No longer affects: neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1751302
Title:
KeyError: 'port_id' exception in
.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change
Status in BaGPipe:
New
Bug description:
I see the following traceback in some neutron linuxbridge agent logs:
neutron_lib.callbacks.manager [req-4f4fe77a-3d0e-44d3-b3ef-02a813575d58 - - -
- -] Error during notification for
neutron.services.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change--9223372036854150104
port_device, after_update: KeyError: 'port_id'
Traceback (most recent call last):
File
"/opt/stack/new/networking-bagpipe/.tox/dsvm-fullstack/local/lib/python2.7/site-packages/neutron_lib/callbacks/manager.py",
line 171, in _notify_loop
callback(resource, event, trigger, **kwargs)
File
"/opt/stack/new/networking-bagpipe/.tox/dsvm-fullstack/src/neutron/openstack/neutron/neutron/services/trunk/drivers/linuxbridge/agent/driver.py",
line 91, in agent_port_change
trunk = self._tapi.get_trunk(context, device_details['port_id'])
KeyError: 'port_id'
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-bagpipe/+bug/1751302/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp