yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74261
[Bug 1783556] Re: Neutron ovs agent logs flooded with KeyErrors
Reviewed: https://review.openstack.org/585742
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=da5b13df2b2a8171f60311414250671820390738
Submitter: Zuul
Branch: master
commit da5b13df2b2a8171f60311414250671820390738
Author: Lucian Petrut <lpetrut@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 25 16:05:04 2018 +0300
Trivial: avoid KeyError while processing ports
The Neutron OVS agent logs can get flooded with KeyErrors as the
'_get_port_info' method skips the added/removed dict items if no
ports have been added/removed, which are expected to be present,
even if those are just empty sets.
This change ensures that those port info dict fields are always set.
Closes-Bug: #1783556
Change-Id: I9e5325aa2d8525231353ba451e8ea895be51b1ca
** 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/1783556
Title:
Neutron ovs agent logs flooded with KeyErrors
Status in neutron:
Fix Released
Bug description:
The Neutron OVS agent logs can get flooded with KeyErrors as the
'_get_port_info' method skips the added/removed dict items if no ports
have been added/removed, which are expected to be present, even if
those are just empty sets.
Trace: http://paste.openstack.org/raw/726614/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1783556/+subscriptions
References