← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2093327] [NEW] [OVN] Port unbinding operation receives rogue port UP event too

 

Public bug reported:

Scenario: this issue has been detected with the patch that removes
eventlet from the Neutron API [1] and tested in [2].

When a port is deleted, sometimes three consecutive events are received in this order:
* LogicalSwitchPortUpdateDownEvent
* LogicalSwitchPortUpdateUpEvent
* LogicalSwitchPortUpdateDownEvent

That leads to a blocked event processing
(LogicalSwitchPortUpdateUpEvent) because the port is no longer in the NB
database, as it has been deleted.

Logs:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_005/932601/8/check/neutron-
ovn-tempest-ipv6-only-ovs-release-
wsgi-19/005b97e/controller/logs/screen-neutron-api.txt

Snippet (2 examples with different ports, from the previous log file):
https://paste.opendev.org/show/bPJGbWFrOfP3FfnEY97r/

[1]https://review.opendev.org/c/openstack/neutron/+/938659
[2]https://review.opendev.org/c/openstack/neutron/+/932601

** Affects: neutron
     Importance: High
         Status: New

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  [OVN] Port unbinding operation receives rogue port UP event too

Status in neutron:
  New

Bug description:
  Scenario: this issue has been detected with the patch that removes
  eventlet from the Neutron API [1] and tested in [2].

  When a port is deleted, sometimes three consecutive events are received in this order:
  * LogicalSwitchPortUpdateDownEvent
  * LogicalSwitchPortUpdateUpEvent
  * LogicalSwitchPortUpdateDownEvent

  That leads to a blocked event processing
  (LogicalSwitchPortUpdateUpEvent) because the port is no longer in the
  NB database, as it has been deleted.

  Logs:
  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_005/932601/8/check/neutron-
  ovn-tempest-ipv6-only-ovs-release-
  wsgi-19/005b97e/controller/logs/screen-neutron-api.txt

  Snippet (2 examples with different ports, from the previous log file):
  https://paste.opendev.org/show/bPJGbWFrOfP3FfnEY97r/

  [1]https://review.opendev.org/c/openstack/neutron/+/938659
  [2]https://review.opendev.org/c/openstack/neutron/+/932601

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