neutron/neutron/plugins/ml2/drivers
Terry Wilson 1327a54337 Fix neutron_pg_drop-related startup issues
There is a python-ovs bug that allows transactions to be executed
before it has started monitoring the db for changes. This breaks
ovsdbapp's AddCommand behavior, which looks up a row in memory
post-commit to return it to the caller, because we process the
reply from ovsdb-server that has the UUID in it, but when we try to
look it up in memory, it isn't there since that is handled via the
monitor notifications.

Since we don't care about the return value, we can just ignore the
KeyError. In addition, the request to Idl.cond_change() to monitor
only the neutron_pg_drop table was failing for a similar reason--
it is called before the initial monitor request is sent, so
directly setting table.condition will allow the condition to be
added to the initial monitor request.

Conflicts:
  neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py

Closes-Bug: #1938766
Change-Id: I78af15970a86923fb810e903d38634b6e60a8fe4
(cherry picked from commit 76ee64f4a8)
2021-09-14 13:49:28 +00:00
..
agent remove neutron.common.constants 2019-04-04 14:10:26 -06:00
l2pop ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
linuxbridge Make ARP protection commands compatible with "ebtables-nft" 2021-08-10 09:35:46 +00:00
macvtap Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
mech_sriov Add a single option to override the default hypervisor name 2021-06-17 13:05:56 +00:00
openvswitch Add a single option to override the default hypervisor name 2021-06-17 13:05:56 +00:00
ovn Fix neutron_pg_drop-related startup issues 2021-09-14 13:49:28 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Fix queries to retrieve allocations with network_segment_range 2020-02-28 12:34:13 +00:00
mech_agent.py Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Add tunnel_ip_version to tunnel_sync() error message 2020-04-01 20:51:32 -04:00
type_vlan.py Improve VLAN allocations synchronization 2020-02-11 18:26:25 +00:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00