← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2111572] [NEW] [OVN] OVN ML2 mech driver forces port update to networking generic switch (NGS) on OVS restart

 

Public bug reported:

version: caracal
git_version": "4cd33a21f4"

When ovs vswitchd is restarted, the OVN ML2 mech driver emits a port
update event. Those events are sent to the networking generic switch
(NGS) driver, which then re-applies VLAN/tag configuration on each port
even though no real change occurred. It didn't happen on Antelope.

debug logs:

2025-05-23 11:40:36.774 37 DEBUG neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.ovsdb_monitor [None req-4a988f9a-eef6-4184-972f-213bfdc7c4a8 - - - - - -]
    Hash Ring: Node 62b4202e-793a-43ec-9575-deb624c009b2 (host: ctrl3078-01) handling event "update"
    for row ae555965-33c4-4f79-b24a-cd871ad2e594 (table: Port_Binding) notify
    /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py:750

2025-05-23 11:40:36.775 37 INFO neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
    OVN reports status up for port: ae555965-33c4-4f79-b24a-cd871ad2e594
    /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py:***

2025-05-23 11:40:36.778 37 DEBUG neutron.db.provisioning_blocks [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
    Provisioning complete for port ae555965-33c4-4f79-b24a-cd871ad2e594 triggered by entity L2.
    /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/db/provisioning_blocks.py:144

2025-05-23 11:40:36.778 37 DEBUG neutron_lib.callbacks.manager [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
    Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._port_provisioned-746611']
    for port (ae555965-33c4-4f79-b24a-cd871ad2e594)
    /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron_lib/callbacks/manager.py:184

2025-05-23 11:40:36.778 37 INFO neutron.plugins.ml2.plugin [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
    Attempt 1 to provision port ae555965-33c4-4f79-b24a-cd871ad2e594
    /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/plugin.py:2389

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  version: caracal
+ {"git_version": "4cd33a21f4", "is_release":
  
  When ovs vswitchd is restarted, the OVN ML2 mech driver emits a port
  update event. Those events are sent to the networking generic switch
  (NGS) driver, which then re-applies VLAN/tag configuration on each port
  even though no real change occurred. It didn't happen on Antelope.
  
- 
  debug logs:
  
  2025-05-23 11:40:36.774 37 DEBUG neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.ovsdb_monitor [None req-4a988f9a-eef6-4184-972f-213bfdc7c4a8 - - - - - -]
-     Hash Ring: Node 62b4202e-793a-43ec-9575-deb624c009b2 (host: ctrl3078-01) handling event "update"
-     for row ae555965-33c4-4f79-b24a-cd871ad2e594 (table: Port_Binding) notify
-     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py:750
+     Hash Ring: Node 62b4202e-793a-43ec-9575-deb624c009b2 (host: ctrl3078-01) handling event "update"
+     for row ae555965-33c4-4f79-b24a-cd871ad2e594 (table: Port_Binding) notify
+     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py:750
  
  2025-05-23 11:40:36.775 37 INFO neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
-     OVN reports status up for port: ae555965-33c4-4f79-b24a-cd871ad2e594
-     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py:***
+     OVN reports status up for port: ae555965-33c4-4f79-b24a-cd871ad2e594
+     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py:***
  
  2025-05-23 11:40:36.778 37 DEBUG neutron.db.provisioning_blocks [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
-     Provisioning complete for port ae555965-33c4-4f79-b24a-cd871ad2e594 triggered by entity L2.
-     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/db/provisioning_blocks.py:144
+     Provisioning complete for port ae555965-33c4-4f79-b24a-cd871ad2e594 triggered by entity L2.
+     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/db/provisioning_blocks.py:144
  
  2025-05-23 11:40:36.778 37 DEBUG neutron_lib.callbacks.manager [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
-     Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._port_provisioned-746611']
-     for port (ae555965-33c4-4f79-b24a-cd871ad2e594)
-     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron_lib/callbacks/manager.py:184
+     Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._port_provisioned-746611']
+     for port (ae555965-33c4-4f79-b24a-cd871ad2e594)
+     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron_lib/callbacks/manager.py:184
  
  2025-05-23 11:40:36.778 37 INFO neutron.plugins.ml2.plugin [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
-     Attempt 1 to provision port ae555965-33c4-4f79-b24a-cd871ad2e594
-     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/plugin.py:2389
+     Attempt 1 to provision port ae555965-33c4-4f79-b24a-cd871ad2e594
+     /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/plugin.py:2389

** Description changed:

  version: caracal
- {"git_version": "4cd33a21f4", "is_release":
+ git_version": "4cd33a21f4"
  
  When ovs vswitchd is restarted, the OVN ML2 mech driver emits a port
  update event. Those events are sent to the networking generic switch
  (NGS) driver, which then re-applies VLAN/tag configuration on each port
  even though no real change occurred. It didn't happen on Antelope.
  
  debug logs:
  
  2025-05-23 11:40:36.774 37 DEBUG neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.ovsdb_monitor [None req-4a988f9a-eef6-4184-972f-213bfdc7c4a8 - - - - - -]
      Hash Ring: Node 62b4202e-793a-43ec-9575-deb624c009b2 (host: ctrl3078-01) handling event "update"
      for row ae555965-33c4-4f79-b24a-cd871ad2e594 (table: Port_Binding) notify
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py:750
  
  2025-05-23 11:40:36.775 37 INFO neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      OVN reports status up for port: ae555965-33c4-4f79-b24a-cd871ad2e594
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py:***
  
  2025-05-23 11:40:36.778 37 DEBUG neutron.db.provisioning_blocks [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Provisioning complete for port ae555965-33c4-4f79-b24a-cd871ad2e594 triggered by entity L2.
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/db/provisioning_blocks.py:144
  
  2025-05-23 11:40:36.778 37 DEBUG neutron_lib.callbacks.manager [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._port_provisioned-746611']
      for port (ae555965-33c4-4f79-b24a-cd871ad2e594)
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron_lib/callbacks/manager.py:184
  
  2025-05-23 11:40:36.778 37 INFO neutron.plugins.ml2.plugin [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Attempt 1 to provision port ae555965-33c4-4f79-b24a-cd871ad2e594
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/plugin.py:2389

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

Title:
  [OVN] OVN ML2 mech driver forces port update to networking generic
  switch (NGS) on OVS restart

Status in neutron:
  New

Bug description:
  version: caracal
  git_version": "4cd33a21f4"

  When ovs vswitchd is restarted, the OVN ML2 mech driver emits a port
  update event. Those events are sent to the networking generic switch
  (NGS) driver, which then re-applies VLAN/tag configuration on each
  port even though no real change occurred. It didn't happen on
  Antelope.

  debug logs:

  2025-05-23 11:40:36.774 37 DEBUG neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.ovsdb_monitor [None req-4a988f9a-eef6-4184-972f-213bfdc7c4a8 - - - - - -]
      Hash Ring: Node 62b4202e-793a-43ec-9575-deb624c009b2 (host: ctrl3078-01) handling event "update"
      for row ae555965-33c4-4f79-b24a-cd871ad2e594 (table: Port_Binding) notify
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py:750

  2025-05-23 11:40:36.775 37 INFO neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      OVN reports status up for port: ae555965-33c4-4f79-b24a-cd871ad2e594
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py:***

  2025-05-23 11:40:36.778 37 DEBUG neutron.db.provisioning_blocks [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Provisioning complete for port ae555965-33c4-4f79-b24a-cd871ad2e594 triggered by entity L2.
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/db/provisioning_blocks.py:144

  2025-05-23 11:40:36.778 37 DEBUG neutron_lib.callbacks.manager [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Publish callbacks ['neutron.plugins.ml2.plugin.Ml2Plugin._port_provisioned-746611']
      for port (ae555965-33c4-4f79-b24a-cd871ad2e594)
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron_lib/callbacks/manager.py:184

  2025-05-23 11:40:36.778 37 INFO neutron.plugins.ml2.plugin [None req-a9c45e52-bd2a-4f56-8f3f-31de20b6aa1e - - - - - -]
      Attempt 1 to provision port ae555965-33c4-4f79-b24a-cd871ad2e594
      /var/lib/kolla/venv/lib64/python3.9/site-packages/neutron/plugins/ml2/plugin.py:2389

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