From 4e1cf47626688041134ec9e5298e3957f5dfbf60 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 20 May 2020 16:30:16 -0500 Subject: [PATCH] Add override for huge_pages configrations in nova Some nova settings for huge_page reservation can be needed when deploying things like ovs-dpdk to avoid running out of memory. This change adds in the values override for setting huge_page reservations as an example to use when overriding nova values. Change-Id: I9ee13d3a8bcaabf50a449cb2566cfb0fe8212484 --- nova/values_overrides/cntt.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nova/values_overrides/cntt.yaml diff --git a/nova/values_overrides/cntt.yaml b/nova/values_overrides/cntt.yaml new file mode 100644 index 0000000000..66887fa24d --- /dev/null +++ b/nova/values_overrides/cntt.yaml @@ -0,0 +1,20 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +--- +conf: + nova: + DEFAULT: + reserved_huge_pages: + - node:0,size:1GB,count:4 + - node:1,size:1GB,count:4 + reserved_host_memory_mb: 512 +...