neutron/neutron/agent/ovn/metadata
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
..
__init__.py [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
agent.py [ovn][metadata] Remove metadata readiness mechanism 2021-06-03 16:09:31 +00:00
driver.py [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
ovsdb.py [OVN] MetadataProxyHandler to conditionally monitor both Chassis's tables 2021-04-23 17:32:07 +01:00
server.py [OVN] Only account for bound ports in metadata agent 2021-04-22 15:23:43 +02:00