aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch')
-rw-r--r--patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch96
1 files changed, 96 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch b/patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch
new file mode 100644
index 00000000..e2677d32
--- /dev/null
+++ b/patches/opnfv-fuel/0015-aarch64-skip-configuration-of-hugepages.patch
@@ -0,0 +1,96 @@
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+: Copyright (c) 2017 Enea AB and others.
+:
+: All rights reserved. This program and the accompanying materials
+: are made available under the terms of the Apache License, Version 2.0
+: which accompanies this distribution, and is available at
+: http://www.apache.org/licenses/LICENSE-2.0
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+From: Charalampos Kominos <charalampos.kominos@enea.com>
+Date: Thu, 24 Aug 2017 19:28:14 +0200
+Subject: [PATCH] aarch64: skip configuration of hugepages
+
+The reclass model contains instructions on how to setup nova.conf.
+Those instructions need to be overwritten for ARM.
+
+Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
+Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
+---
+ .../cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml | 4 ++--
+ .../cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml | 10 +++++-----
+ .../cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml | 4 ++--
+ .../cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml | 10 +++++-----
+ 4 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
+index 3dd94e6..cfdba30 100644
+--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
++++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
+@@ -4,8 +4,8 @@ classes:
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - system.nova.compute.cluster
+-- system.nova.compute.nfv.hugepages
+-- system.nova.compute.nfv.cpu_pinning
++#- system.nova.compute.nfv.hugepages
++#- system.nova.compute.nfv.cpu_pinning
+ - system.neutron.gateway.opendaylight.single
+ - system.neutron.gateway.cluster
+ - system.cinder.volume.single
+diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
+index ad99447..ea95680 100644
+--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
++++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
+@@ -100,11 +100,11 @@ parameters:
+ rabbitmq_secret_key: opnfv_secret
+ rabbitmq_admin_password: opnfv_secret
+ rabbitmq_openstack_password: opnfv_secret
+- nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
+- compute_hugepages_size: 1G
+- compute_hugepages_count: 16
+- compute_hugepages_mount: /mnt/hugepages_1G
+- compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
++ #nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
++ #compute_hugepages_size: 1G
++ #compute_hugepages_count: 16
++ #compute_hugepages_mount: /mnt/hugepages_1G
++ #compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
+ glance_version: ${_param:openstack_version}
+ glance_service_host: ${_param:openstack_control_address}
+ keystone_version: ${_param:openstack_version}
+diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
+index cea8c81..3c48cff 100644
+--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
++++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
+@@ -4,8 +4,8 @@ classes:
+ - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
+ - system.nova.compute.cluster
+-- system.nova.compute.nfv.hugepages
+-- system.nova.compute.nfv.cpu_pinning
++#- system.nova.compute.nfv.hugepages
++#- system.nova.compute.nfv.cpu_pinning
+ - system.neutron.gateway.cluster
+ - system.cinder.volume.single
+ - system.cinder.volume.backend.lvm
+diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
+index 90e0cf3..c1452b4 100644
+--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
++++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
+@@ -94,11 +94,11 @@ parameters:
+ rabbitmq_secret_key: opnfv_secret
+ rabbitmq_admin_password: opnfv_secret
+ rabbitmq_openstack_password: opnfv_secret
+- nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
+- compute_hugepages_size: 1G
+- compute_hugepages_count: 16
+- compute_hugepages_mount: /mnt/hugepages_1G
+- compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
++ # nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
++ # compute_hugepages_size: 1G
++ # compute_hugepages_count: 16
++ # compute_hugepages_mount: /mnt/hugepages_1G
++ # compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
+ glance_version: ${_param:openstack_version}
+ glance_service_host: ${_param:openstack_control_address}
+ keystone_version: ${_param:openstack_version}