neutron/neutron/tests/unit/db
Slawek Kaplonski ef2873a9f9 Handle properly ObjectNotFound while deleting network from DHCP agent
In case when 2 neutron servers are trying to remove network from the
same DHCP agent it may happend that one of them will not be able
to find binding object anymore thus deletion of that binding object
will raise ObjectNotFound exception.
This patch adds proper handling of such case to not raise ugly
stacktrace in neutron logs.

Closes-Bug: #1970759
Change-Id: I67d516c4583aa0c20416114b92a6d69ece5b970c
(cherry picked from commit 8df2f69b6f)
2022-05-05 10:45:41 +00:00
..
metering Add source_ip_prefix and destination_ip_prefix to metering label rules 2020-09-29 09:06:03 -03:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test__utils.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_agents_db.py Set process name for agents 2020-07-01 12:28:29 +02:00
test_agentschedulers_db.py Handle properly ObjectNotFound while deleting network from DHCP agent 2022-05-05 10:45:41 +00:00
test_allowedaddresspairs_db.py Switch to new engine facade in test_allowedaddresspairs_db module 2020-03-20 02:18:04 +01:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Merge "Ensure gateway is set for prefix delegated subnets" into stable/wallaby 2022-03-30 14:27:21 +00:00
test_dvr_mac_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_extraroute_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_ipam_backend_mixin.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_ipam_pluggable_backend.py [OVN] Allow IP allocation with different segments for OVN service ports 2020-07-22 07:38:49 +00:00
test_l3_db.py Finish the new DB engine facade migration 2020-11-24 09:20:35 +00:00
test_l3_dvr_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_l3_hamode_db.py Switch to new engine facade for l3_hamode_db leftovers 2020-12-10 10:07:35 +00:00
test_migration.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovn_hash_ring_db.py Match created_at and updated_at timestamp in TestHashRing 2020-10-08 14:45:51 +00:00
test_ovn_revision_numbers_db.py Merge "Support remote address group in SG rules" 2020-11-28 11:26:39 +00:00
test_portsecurity_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_portsecurity_db_common.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_provisioning_blocks.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_rbac_db_mixin.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_securitygroups_db.py Don't try to create default SG when security groups are disabled 2021-02-05 16:07:39 +01:00
test_segments_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00