modfied to do a workaround for limit user issue. 79/15679/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 16 Jun 2016 03:35:16 +0000 (22:35 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 16 Jun 2016 03:36:39 +0000 (22:36 -0500)
Change-Id: I3eb617135c2c69c09baaf490210f3c61c8670eef
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/deploy.sh

index c4510ab..9d0c028 100755 (executable)
@@ -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  ......."