StarlingX System Configuration Management
Go to file
Steven Webster a7cdb4ce95 OVS: fix memory pool allocation for virtual environment
Cherry-pick to r/2018.10 branch of commit bcc89e5

This commit increases the vswitch hugepage number for virtual
environments from 512 to 1024, making it equal to the same amount
used for non-virtual environments.

An issue was seen after the da1110a commit to enable LLDP
over OVS, in which puppet would fail to successfully add ports to
OVS.  The issue  would have manifested previously not as a puppet
error, but as a failure to communicate over the data ports of
some virtual compute nodes.

The issue is a failure of DPDK to be able to find a contiguous
mempool of sufficient size in any of the hugepages, which can
happen in a virtual environment restricted to a 2M hugepage size.

Since 1G and 2M pages can be used for both vswitch and vm
purposes, the concept of a hugepage role is removed.

Finally, the code has had some cleanup to separate out constants
and make variable names more pythonic. Unit identifiers have
been made consistent for readability and to prevent confusion.

Change-Id: I14550526deddfaf13284d9273397a00b80eb8527
Closes-Bug: #1796380
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2018-10-19 09:19:41 -04:00
api-ref/source stx-config: API ref doc content added. 2018-09-27 11:26:39 -07:00
compute-huge Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
computeconfig Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
config-gate Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
configutilities Allow mgmt and infra network on single interface 2018-09-17 15:20:44 -04:00
controllerconfig Vlan lower interface should not have class set 2018-10-16 16:01:53 +00:00
devstack Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
doc Add publish job for docs 2018-10-10 04:04:35 -05:00
puppet-manifests Modify default lldp system description 2018-10-17 13:58:16 +00:00
puppet-modules-wrs Merge "LLDP OVS enablement: puppet configuration" 2018-09-27 00:56:51 +00:00
releasenotes Add publish job for docs 2018-10-10 04:04:35 -05:00
storageconfig Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042 2018-09-11 21:47:40 +08:00
sysinv OVS: fix memory pool allocation for virtual environment 2018-10-19 09:19:41 -04:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00
.gitreview Update .gitreview for r/2018.10 2018-09-28 13:38:11 -05:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Add publish job for docs 2018-10-10 04:04:35 -05: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_iso_image.inc Split image.inc across git repos 2018-08-16 10:08:08 -04:00
centos_pkg_dirs Decouple Fault Management from stx-config 2018-08-16 17:24:19 -04:00
test-requirements.txt Add default test framework 2018-06-08 20:06:21 -05:00
tox.ini [Doc] OpenStack API Reference Guide 2018-09-21 16:08:09 -05:00

README.rst

stx-config

StarlingX Configuration Management