From 985c50adfe17543693202eb3d9f7f5b95c105eec Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Wed, 15 Jun 2016 22:35:16 -0500 Subject: [PATCH] modfied to do a workaround for limit user issue. Change-Id: I3eb617135c2c69c09baaf490210f3c61c8670eef Signed-off-by: Narinder Gupta --- ci/deploy.sh | 12 ++++++++++-- 1 file 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 ......." -- 2.16.6