Public bug reported: Version: 2023.1 Driver: OVN
I'm seeing the following error: ``` Failed to call periodic 'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.add_gw_port_info_to_logical_router_port' (it runs every 600.00 seconds): KeyError: 'external_gateways' 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics Traceback (most recent call last): 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 290, in run 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics work() 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 64, in __call__ 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics return self.callback(*self.args, **self.kwargs) 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 178, in decorator 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics return f(*args, **kwargs) 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 982, in add_gw_port_info_to_logical_router_port 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics ext_gw['network_id'] for ext_gw in router['external_gateways']] 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics KeyError: 'external_gateways' 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics ``` This is triggered every ten minutes. Does the external_gateways field only exist if you have the external-gateway-multihoming enabled? Is this likely to cause a functional issue? The patch that added the changed suggested it was only informational: https://review.opendev.org/c/openstack/neutron/+/908822 ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2057942 Title: external_gateways KeyError when running add_gw_port_info_to_logical_router_port Status in neutron: New Bug description: Version: 2023.1 Driver: OVN I'm seeing the following error: ``` Failed to call periodic 'neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance.DBInconsistenciesPeriodics.add_gw_port_info_to_logical_router_port' (it runs every 600.00 seconds): KeyError: 'external_gateways' 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics Traceback (most recent call last): 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 290, in run 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics work() 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 64, in __call__ 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics return self.callback(*self.args, **self.kwargs) 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/futurist/periodics.py", line 178, in decorator 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics return f(*args, **kwargs) 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 982, in add_gw_port_info_to_logical_router_port 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics ext_gw['network_id'] for ext_gw in router['external_gateways']] 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics KeyError: 'external_gateways' 2024-03-14 14:37:08.974 1026 ERROR futurist.periodics ``` This is triggered every ten minutes. Does the external_gateways field only exist if you have the external-gateway-multihoming enabled? Is this likely to cause a functional issue? The patch that added the changed suggested it was only informational: https://review.opendev.org/c/openstack/neutron/+/908822 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2057942/+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

