aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0013-aarch64-skip-configuration-of-hugepages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/opnfv-fuel/0013-aarch64-skip-configuration-of-hugepages.patch')
-rw-r--r--patches/opnfv-fuel/0013-aarch64-skip-configuration-of-hugepages.patch96
1 files changed, 96 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0013-aarch64-skip-configuration-of-hugepages.patch b/patches/opnfv-fuel/0013-aarch64-skip-configuration-of-hugepages.patch
new file mode 100644
index 00000000..ed9f1fce
--- /dev/null
+++ b/patches/opnfv-fuel/0013-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 a41df69..10a5a88 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
+@@ -6,8 +6,8 @@ classes:
+ - system.linux.storage.loopback
+ - system.glusterfs.client.cluster
+ - 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 c7df472..4db9ee0 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
+@@ -102,11 +102,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 e3f0cff..6ed1622 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
+@@ -6,8 +6,8 @@ classes:
+ - system.linux.storage.loopback
+ - system.glusterfs.client.cluster
+ - 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 7ce282b..9401f60 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
+@@ -96,11 +96,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}