Public bug reported: Reference bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2089420
During the ``neutron.plugins.ml2.drivers.ovn.agent.neutron_agent.AgentCache.__iter__`` iteration, an event to add or deleted an OVN agent can happen. The dictionary ``AgentCache.agents`` can change and trigger the error reported in the snippet. Snippet: https://paste.opendev.org/show/bWn8eKHKIjsWb4MM6pd2/ ** Affects: neutron Importance: Medium Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez) Status: Confirmed ** Changed in: neutron Importance: Undecided => Critical ** Changed in: neutron Importance: Critical => Medium ** Changed in: neutron Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez) ** Changed in: neutron Status: New => Incomplete ** Changed in: neutron Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1976292 Title: [OVN] AgentCache.agents can change during an iteration operation Status in neutron: Confirmed Bug description: Reference bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2089420 During the ``neutron.plugins.ml2.drivers.ovn.agent.neutron_agent.AgentCache.__iter__`` iteration, an event to add or deleted an OVN agent can happen. The dictionary ``AgentCache.agents`` can change and trigger the error reported in the snippet. Snippet: https://paste.opendev.org/show/bWn8eKHKIjsWb4MM6pd2/ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1976292/+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

