summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-06-15 22:35:16 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-06-15 22:36:39 -0500
commit985c50adfe17543693202eb3d9f7f5b95c105eec (patch)
treec2b7aac147606d2cb2f1b3e2e07687a99f91ee99 /ci
parent02670cf7af6fd44b02ee91504d3fabdaafc5837a (diff)
modfied to do a workaround for limit user issue.
Change-Id: I3eb617135c2c69c09baaf490210f3c61c8670eef Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c4510ab1..9d0c0286 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -11,7 +11,7 @@ openstack=mitaka
opnfvlab=default
opnfvrel=c
opnfvfeature=odl_l2
-opnfvdistro=trusty
+opnfvdistro=xenial
opnfvarch=amd64
read_config() {
@@ -150,8 +150,16 @@ check_status() {
}
echo "...... deployment started ......"
-#deploy_dep
deploy
+
+#temporary change the user instances as dhcp failed with limitation exceeded.
+# to be remove once charm fixes the issue
+
+if [ "$opnfvdistro" == "xenial" ]; then
+ juju ssh neutron-gateway/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
+fi
+# Temorary change end
+
check_status
echo "...... deployment finished ......."