config/sysinv/sysinv/sysinv/sysinv/helm
Jim Gauld acefd544f0 Mitigate memory leak of sessions by disabling sudo for sriov agent
The sriov agent was polling devices via 'sudo ip link show',
and this resulted in a severe memory leak. The usage of 'sudo'
uses the host 'dbus-daemon', and somewhere the host does not
clean up login sessions.

Symptoms:
- gradual run out of memory until system unstable, host spontaneous
  reboot due to delay or OOM
- huge growth of kernel slab
- thousands of /sys/fs/cgroup/systemd/user.slice/user-0.slice
  session-x*.scope files with empty 'tasks', i.e., sessions
  that should have deleted
- huge latency seen with ssh and various systemd commands

The problem is mitigated by disabling 'sudo' for sriov agent, using
a helm override that configures [agent]/root_helper='' .

Testing:
- Verified that we could launch a VM with SR-IOV interface;
  VFs were able to set MAC and VLAN attributes.

Closes-Bug: 1815106

Change-Id: I0c57629c01b7407c99cc7f38b409019ab87af859
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
2019-02-14 15:42:07 -05:00
..
__init__.py Helm Backend for chart specific system overrides 2018-07-31 15:48:45 -04:00
aodh.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
barbican.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
base.py Merge "clean up duplicated code in sysinv/helm" 2019-02-08 19:54:46 +00:00
ceilometer.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
cinder.py Move cinder static config to Armada manifest 2019-02-08 16:50:31 -05:00
common.py Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
garbd.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
glance.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
gnocchi.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
heat.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
helm.py Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
helm_toolkit.py Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
horizon.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
ingress.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
ironic.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
keystone.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
libvirt.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
magnum.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
mariadb.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
memcached.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
neutron.py Mitigate memory leak of sessions by disabling sudo for sriov agent 2019-02-14 15:42:07 -05:00
nova.py Update nova helm overrides for PCI alias, passthrough, and SR-IOV 2019-02-13 14:00:51 -05:00
nova_api_proxy.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
openstack.py Update nova helm overrides for PCI alias, passthrough, and SR-IOV 2019-02-13 14:00:51 -05:00
openvswitch.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
panko.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
rabbitmq.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00
rbd_provisioner.py clean up duplicated code in sysinv/helm 2019-02-08 10:53:29 -06:00