From: Narinder Gupta Date: Thu, 16 Jun 2016 03:35:16 +0000 (-0500) Subject: modfied to do a workaround for limit user issue. X-Git-Tag: colorado.1.0~129 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F15679%2F1;p=joid.git modfied to do a workaround for limit user issue. Change-Id: I3eb617135c2c69c09baaf490210f3c61c8670eef Signed-off-by: Narinder Gupta --- 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 ......."