modfied the default worker again. 15/18715/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Tue, 16 Aug 2016 04:54:33 +0000 (23:54 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Tue, 16 Aug 2016 04:55:00 +0000 (23:55 -0500)
Change-Id: I8f1883485789066bee69d6d75b60640a2eb68895
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-deploybundle.sh
ci/default_deployment_config.yaml

index edae730..deaa51e 100755 (executable)
@@ -60,7 +60,7 @@ if [ -e ~/.juju/deployment.yaml ]; then
     done
     echo $max
 
-    if [ "$max" -lt 8 ];then
+    if [ "$max" -lt 4 ];then
         workmutiple=1.0
     elif [ "$max" -lt 33 ]; then
         workmutiple=0.25
@@ -69,7 +69,7 @@ if [ -e ~/.juju/deployment.yaml ]; then
     else
         workmutiple=0.05
     fi
-    sed -i "s/worker_multiplier: 2/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml
+    sed -i "s/worker_multiplier: 1/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml
 fi
 
 case "$opnfvlab" in
index e6250c8..657d9a8 100644 (file)
@@ -9,7 +9,7 @@ os:
     lxd: False
     region: RegionOne
     api:
-        worker_multiplier: 0.5
+        worker_multiplier: 1
         haproxy_timeout: 10000
     admin:
         role: admin