StarlingX System Configuration Management
Go to file
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
api-ref/source Create DataNetworks modelling in System Configuration 2019-02-04 11:28:21 -05:00
config-gate Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
configutilities fix wrong format of NO_PROXY in temp configuration file 2019-02-14 01:23:24 +00:00
controllerconfig Fix cluster host network when mgmt is tagged 2019-02-08 09:25:40 -05:00
devstack [Devstack] rename sysinv-agent and check sysinv services 2019-01-31 08:42:53 +08:00
doc Clean up and standardize landing pages 2018-12-27 16:49:27 -08:00
kubernetes Move cinder static config to Armada manifest 2019-02-11 11:01:53 -05:00
playbooks/tox-puppet-lint Add puppet-lint support 2018-12-24 13:50:20 -06:00
puppet-manifests Store BMC password in Openstack Barbican instead of keyring. 2019-02-12 10:12:54 -05:00
puppet-modules-wrs Standardize makefiles for puppet-modules-wrs 2019-02-11 13:30:42 -06:00
releasenotes Update config for release notes to include project name 2019-02-05 14:03:49 -08:00
storageconfig Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
sysinv Mitigate memory leak of sessions by disabling sudo for sriov agent 2019-02-14 15:42:07 -05:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
worker-utils Remove requires kubelet from affine tasks service 2019-02-06 21:15:18 +00:00
workerconfig Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
.gitignore Fixing up tox -e cover for stx-config 2018-12-20 08:53:15 -06:00
.gitreview Set .gitreview back to use review.openstack.org 2018-09-04 21:12:34 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Enable pylint zuul check for configutilities 2019-02-01 14:40:50 -06:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_helm.inc Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
centos_iso_image.inc Include Ansible related packages in the ISO 2019-02-06 18:34:11 -05:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:05:28 -06:00
centos_pkg_dirs Build stx-openstack-helm without requiring networking 2019-01-08 13:13:13 -06:00
centos_pkg_dirs_containers Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Add puppet-lint support 2018-12-24 13:50:20 -06:00

README.rst

stx-config

StarlingX Configuration Management