neutron/neutron/tests/unit/agent
Daniel Alvarez Sanchez 36ba1cc319 [ovn][metadata] Remove metadata readiness mechanism
Prior to this patch, the metadata agent was writing into SB
database when a network had been provisioned with metadata
on a particular chassis.

Then, neutron-server would wait for that event to happen with
a 15s timeout before sending the vif-plugged event to Nova.

By removing this mechanism:

1) We'll save writes to OVN SB database which, in highly loaded
systems and at scale reduces significantly the load on ovsdb-server.

2) Ignoring healthchecks (that still requires write to the SB DB),
we can make OVN metadata agent to connect to slave instances when
using active-backup OVN databases since writes are not needed.

3) There's a chance that the VM boots very fast and requests
metadata before the service is ready but since the timeout was
15 seconds, we can safely rely on the the cloud-init retries.

Signed-off-by: Daniel Alvarez Sanchez <dalvarez@redhat.com>
Change-Id: Ia6cd7a9a3b9662a9a8ce106e01a93c357c255956
2021-06-03 16:09:31 +00:00
..
common Merge "Physical NIC RP should be child of agent RP" 2021-05-02 02:35:13 +00:00
dhcp Stop metadata proxy gracefully 2021-02-06 17:24:38 +00:00
l2 Add the DHCPReponder for IPv4 2021-03-30 17:25:59 +08:00
l3 Merge "HA-non-DVR router don't need manually add static route" 2021-05-22 05:05:09 +00:00
linux Merge "[ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses" 2021-05-14 13:57:02 +00:00
metadata Stop metadata proxy gracefully 2021-02-06 17:24:38 +00:00
ovn [ovn][metadata] Remove metadata readiness mechanism 2021-06-03 16:09:31 +00:00
ovsdb Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
windows Remove "six" library 2020-07-28 16:55:52 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_resource_cache.py Replace assertItemsEqual with assertCountEqual 2020-11-30 10:21:57 +01:00
test_rpc.py [OVS] Fix live-migration connection disruption 2021-01-13 11:13:41 +00:00
test_securitygroups_rpc.py Merge "Remove rootwrap execution (4)" 2021-02-17 15:43:21 +00:00