charm-neutron-openvswitch/templates
Corey Bryant 282f6af3db Add disable-mlockall config
By default, mlockall() is enabled for ovs-vswitchd. This results in
locking all of ovs-vswitchd's process memory into physical RAM and
prevents paging. This enables network performance but can lead to
memory exhaustion in memory-constrained environments. To disable
mlockall(), the disable-mlockall charm config option can be set to
True. If unset, disable-mlockall charm config will result in
disabling mlockall if running in a container.

The drop_config.append(OVS_DEFAULT) logic is no longer used as
it prevents a rewrite of the config template when charm config is
reset. For example, the new behavior results in
/etc/default/openvswitch-switch being written with comments only
when the corresponding config options are disabled (see template),
resulting in openvswitch-switch being restarted.

Due to the removal of drop_config.append(OVS_DEFAULT), pause/resume
actions need to explicitly remove openswitch-switch to maintain
prior behavior for non-DPDK deployments. In other words, pause/resume
will not restart openvswitch-switch.

Closes-Bug: #1906280
Related-Bug: #1908615
Change-Id: I2e3153e90c7a4a1b7dec7d6df427b33a449f414d
2021-01-07 21:27:28 +00:00
..
icehouse Honour the instance-mtu configuration option 2020-07-16 16:49:34 +02:00
juno Support configurable metadata_workers 2017-08-11 18:20:13 +01:00
kilo Replace SR-IOV systemd unit script 2019-06-28 17:37:51 +02:00
liberty Support polling-interval rpc-response-timeout and report-interval 2017-08-07 09:57:46 +01:00
mitaka Add keepalived-healthcheck-interval config option 2020-08-20 13:21:41 +01:00
newton Add support for FWaaS v2 logging 2019-06-25 16:53:24 +01:00
ocata Honour the instance-mtu configuration option 2020-07-16 16:49:34 +02:00
parts Ensure availability_zone set globally for agents 2019-09-25 14:11:16 +01:00
queens config option to set of_inactivity_probe 2020-09-16 10:10:57 +03:00
rocky Add keepalived-healthcheck-interval config option 2020-08-20 13:21:41 +01:00
stein Add keepalived-healthcheck-interval config option 2020-08-20 13:21:41 +01:00
dnsmasq.conf Add instance-mtu config opt 2018-07-27 08:42:27 +00:00
etc_dpdk_interfaces Add support for DPDK userspace networking 2016-04-07 12:42:16 +01:00
ext-port.conf [gnuoy,r=james-page] Add support for Neutron DVR 2015-04-01 13:53:02 +01:00
openvswitch-switch Add disable-mlockall config 2021-01-07 21:27:28 +00:00
os-charm-phy-nic-mtu.conf [hopem,r=] 2015-06-29 18:55:59 +01:00