summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/virtual-environment.yaml1
-rwxr-xr-xlib/virtual-setup-functions.sh8
2 files changed, 7 insertions, 2 deletions
diff --git a/build/virtual-environment.yaml b/build/virtual-environment.yaml
index 399a3120..ac94e1b8 100644
--- a/build/virtual-environment.yaml
+++ b/build/virtual-environment.yaml
@@ -11,3 +11,4 @@ parameter_defaults:
NeutronWorkers: 1
NovaWorkers: 1
SwiftWorkers: 1
+ GnocchiMetricdWorkers: 1
diff --git a/lib/virtual-setup-functions.sh b/lib/virtual-setup-functions.sh
index 8e15ef5d..5f9e6ba5 100755
--- a/lib/virtual-setup-functions.sh
+++ b/lib/virtual-setup-functions.sh
@@ -50,8 +50,12 @@ EOF
fi
else
capability="profile:control"
- if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "$ramsize" -lt 10240 ]]; then
- echo "WARN: RAM per controller too low. OpenDaylight specified in HA deployment requires at least 10GB"
+ if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "$ramsize" -lt 12288 ]]; then
+ echo "WARN: RAM per controller too low. OpenDaylight specified in deployment requires at least 12GB"
+ echo "INFO: Increasing RAM per controller to 12GB"
+ ramsize=12288
+ elif [[ "$ramsize" -lt 10240 ]]; then
+ echo "WARN: RAM per controller too low. Deployment requires at least 10GB"
echo "INFO: Increasing RAM per controller to 10GB"
ramsize=10240
fi