neutron/neutron/conf/agent
Lucas Alvares Gomes f3a8e1547d [OVN][OVS] Different metadata_workers default based on driver
Both drivers have different approaches when it comes to the metatada
agent, for one the metadata agent for ML2/OVN runs on the compute nodes
(it's distributed) instead of the controller nodes.

The previous default of "<# of CPUs> / 2" did not make sense for ML2/OVN
and if left unchanged could result in scalation problems because of the
number of connections to the OVSDB Southbound database, as seeing in
this email thread for example [0].

This patch puts a placeholder value (None) on the default field of
the "metadata_workers" config by not setting it immediately and then
conditionally set the default value based on each driver:

* ML2/OVS defaults to <# CPUs> // 2, as before.
* ML2/OVN defaults to 2, as suggested in the bug description and also
  what's default in TripleO for the OVN driver.

[0]
http://lists.openstack.org/pipermail/openstack-discuss/2020-September/016960.html

Change-Id: I60d5dfef38dc130b47668604c04299b9d23b59b6
Closes-Bug: #1893656
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-09-09 09:39:13 +01:00
..
database Define dhcp_agents_per_network with min=1 2019-05-15 14:08:21 -04:00
l3 Merge "Improve terminology in the Neutron tree" 2020-08-28 14:06:18 +00:00
metadata [OVN][OVS] Different metadata_workers default based on driver 2020-09-09 09:39:13 +01:00
ovn [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
__init__.py Refactoring config options for dhcp agent 2016-07-06 17:24:23 +00:00
agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
cmd.py Improve ovs cleanup utility help 2019-12-20 09:14:34 +00:00
common.py Deprecate config option "ovs_integration_bridge" 2020-02-17 11:02:16 +00:00
dhcp.py DHCPv6 - Use addr6_list in dnsmasq 2020-03-03 11:03:36 +01:00
l2_ext_fdb_population.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
linux.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
ovs_conf.py Add "igmp_snooping_enable" config option for OVS agent 2019-11-02 13:46:13 +01:00
ovsdb_api.py Remove info about "ovsdb_interface" from config description 2019-10-30 10:14:26 +01:00
securitygroups_rpc.py Add custom ethertype processing 2019-06-28 14:07:16 -04:00
windows.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
xenapi_conf.py XenAPI: Support daemon mode for rootwrap 2017-01-19 07:33:43 +00:00