summaryrefslogtreecommitdiffstats
path: root/ci/01-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-07-25 14:14:28 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-07-25 14:15:04 -0500
commitb4f5b3523fe5740fb384856180d3c43f4faedc7d (patch)
tree7ebd501c48be3df73280017064cc819968b64521 /ci/01-deploybundle.sh
parentd2ba026d34e9d0143a3b99a60fbfb48fe478b008 (diff)
modified to increase the number of user instance to open.
Change-Id: Ic76ce031c8641028edb7fc530b985a3df401ded5 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/01-deploybundle.sh')
-rwxr-xr-xci/01-deploybundle.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 5962d2d3..6e2005df 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -78,6 +78,8 @@ python genBundle.py -l deployconfig.yaml -s $var > bundles.yaml
echo "... Deployment Started ...."
juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"-nodes
-#juju ssh nodes/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
-#juju ssh nodes/1 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
+
+# seeing issue related to number of open files.
+juju run --service nodes 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances'
+
juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2" || true