X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fdeploy.sh;h=0382bb3606084f0a95cffc02536e34224109cdb5;hb=refs%2Fchanges%2F37%2F16237%2F2;hp=b91e761c91eec71266ab7b4f003c7db3245c1368;hpb=8f24bb1e13e300a54e168d0dc9897a25f105190b;p=joid.git diff --git a/ci/deploy.sh b/ci/deploy.sh index b91e761c..0382bb36 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() { @@ -133,7 +133,7 @@ check_status() { timeoutiter=0 while [ $retval -eq 0 ]; do sleep 30 - juju status > status.txt + juju status > status.txt if [ "$(grep -c "executing" status.txt )" -ge 1 ]; then echo " still executing the reltionship within charms ..." if [ $timeoutiter -ge 60 ]; then @@ -150,17 +150,19 @@ 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 ......." -if [ "$opnfvsdn" == "onos" ]; then - ./openstack.sh "$opnfvsdn" - check_status -else - #create the basic data for verification of stack. - ./openstack.sh -fi +./openstack.sh "$opnfvsdn" echo "...... finished ......."