puppet-neutron/manifests/agents
Lucas Alvares Gomes 3987a1b539 [OVN] Change the default metadata_workers to 2
Prior to this patch, the metadata_workers parameter defaults to
$os_workers (calculated here [0]) but, even tho it's capped at 12 workers
this number still redundant.

There are a few differences of how the OVN metadata agent works compared
with the OVS metadata agents:

1) The OVN metadata workers are deployed onto the compute nodes and not
   on the controllers/gateways as the OVS ones are. This means it's
   better distributed.

2) Even tho we could have multiple workers, the OVN SB IDL in the OVN
   metadata agents acquires a lock while listening to OVSDB events.
   Therefore, even tho we could have dozens of agents only one of them
   is listening to the events.

3) Instantiating IDLs means maintaining in-memory replicas of the
   OVSDB (or, the tables of that DB that is being watched). This puts a
   burden on OVSDBs to maintain all these replicas updated, reducing
   this number workers also reduces the burden on the OVSDBs.

This patch is reducing the default number of OVN metadata agents to two
(per compute). Two because that keeps it HA, in case the active agente
dies the lock moves to the other one and the service will keep working.

[0]
74e0f5a317/lib/facter/os_workers.rb (L37)

Change-Id: I6b9cc2aff14ce38a56c2757d9ad6c56898e27247
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
(cherry picked from commit 847f434140)
(cherry picked from commit 2ed6a1936a)
2020-09-04 15:30:58 +01:00
..
ml2 Add of_connect_timeout and of_request_timeout 2020-05-13 16:31:07 +02:00
bagpipe.pp Refactor Bagpipe driver support for including ML2 plugin configuration 2017-04-17 11:41:53 +02:00
bgp_dragent.pp Fix neutron-bgp-dragent issues 2018-07-26 13:44:45 +02:00
bigswitch.pp Add neutron::params to neutron::agents::bigswitch 2018-01-03 11:35:37 +08:00
dhcp.pp Adds configuration for SSL OVSDB connections 2018-02-12 15:35:21 +00:00
l2gw.pp Set agent debug config defaults to service default 2017-11-18 11:06:48 -03:30
l3.pp Set agent debug config defaults to service default 2017-11-18 11:06:48 -03:30
lbaas.pp Optionally set device_driver to $::os_service_default 2018-02-14 19:31:11 +00:00
metadata.pp Configure metadata agent 'metadata_proxy_shared_secret' as secret 2018-03-19 03:35:53 +00:00
metering.pp Set agent debug config defaults to service default 2017-11-18 11:06:48 -03:30
n1kv_vem.pp Lint fixes for absolute class name 2016-06-28 15:45:08 -04:00
ovn_metadata.pp [OVN] Change the default metadata_workers to 2 2020-09-04 15:30:58 +01:00
vpnaas.pp Update VPNaaS setup to match migration to agent 2017-11-03 10:55:48 +01:00