puppet-neutron/manifests
Lucas Alvares Gomes 2ed6a1936a [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)
2020-03-30 15:31:41 +01:00
..
agents [OVN] Change the default metadata_workers to 2 2020-03-30 15:31:41 +01:00
db Use validate_legacy 2019-03-12 14:33:12 +01:00
keystone Remove deprecated pki related options 2019-08-15 11:51:36 +08:00
plugins Add coordination uri support for net-ansible-ml2 2019-09-11 13:49:22 +10:00
server Merge "Replace port 35357 with 5000 for "auth_url"" 2018-07-18 19:36:39 +00:00
services Remove LBaas 2019-05-13 14:48:43 +02:00
wsgi Fix workers/threads documentation 2017-10-13 08:42:19 +03:00
client.pp Add openstackclient installation to the client class 2019-05-17 16:31:19 +08:00
config.pp Remove LBaas 2019-05-13 14:48:43 +02:00
db.pp Deprecate idle_timeout option 2019-04-29 08:52:45 +08:00
deps.pp Remove LBaas 2019-05-13 14:48:43 +02:00
designate.pp Setup external_dns_driver with designate 2018-05-31 01:45:25 +00:00
init.pp Remove deprecated neutron::manage_logging 2019-09-20 13:37:37 +02:00
logging.pp Merge "Cleanup documentation" 2018-12-25 05:21:48 +00:00
params.pp Add support for neutron-mlnx-agent 2019-07-14 11:33:27 +00:00
policy.pp Use validate_legacy 2019-03-12 14:33:12 +01:00
quota.pp Remove deprecated parameters 2018-06-19 20:05:32 +00:00
rootwrap.pp Update resource references for dependencies 2017-07-07 15:53:46 -06:00
server.pp Manage oslo_middleware/max_request_body_size 2019-07-04 11:37:02 +08:00