[nosdn-noha] Meet EPA testcases requirements - pt2 13/62413/5
authorStamatis Katsaounis <mokats@intracom-telecom.com>
Mon, 17 Sep 2018 09:14:26 +0000 (12:14 +0300)
committerStamatis Katsaounis <mokats@intracom-telecom.com>
Tue, 18 Sep 2018 06:07:18 +0000 (09:07 +0300)
commit202f4d38e9221306bed7a563ab7f5aa639b045a0
treefa3fda745075635bd89c95518fb474f5505d919c
parent27ed4796ac54da3c598929c1aeaed62ba14a533b
[nosdn-noha] Meet EPA testcases requirements - pt2

JIRA: FUEL-385

After successfully merging patch
https://gerrit.opnfv.org/gerrit/#/c/61417/ a user can deploy
os-nosdn-nofeature-noha scenario with numa topologies on compute nodes.

In order to be able to run the EPA testcases, there are still some
requirements (see [1]):
  - Testcases expect compute nodes to have hugepages enabled
  - Testcases expect compute nodes to have cgroup-tools package
    installed
  - Testcases expect to have NUMATopologyFilter added to
    enabled_filters in /etc/nova/nova.conf of the controller node

This patch tries to meet the above requirements. First, it installs
the cgroup-tools package on compute nodes. Secondly, it overrides the
default enabled_filters of openstack nova salt package by appending
NUMATopologyFilter in the end (see [2], [3]).

Reference links:
[1] https://docs.google.com/document/d/1sT63M6fnurn4rgYTiUd8ILuXORtx0oHA8Qe-nPeCr2Y/edit
[2] https://github.com/salt-formulas/salt-formula-nova/blob/master/README.rst#custom-scheduler-filters
[3] https://github.com/salt-formulas/salt-formula-nova/blob/master/metadata/service/control/single.yml#L20

Change-Id: I24eb86c53574c80ceb33ecd1bfcb9ef2727d4263
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/control.yml