X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2F02-deploybundle.sh;h=73795ae4d19391362a5007b418f7a62ed592f26a;hb=d2d6923d759fbed5ad5147c95f9cb9f9051c8b11;hp=536fd0559fb1792ab89532ee5beafb687a8df8c2;hpb=d2ca237a4e5c2e2cb6e2f7faa88895a50d979e50;p=joid.git diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index 536fd055..73795ae4 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -19,8 +19,7 @@ sed -i -- "s|distro=trusty|distro=$opnfvdistro|g" ./fetch-charms.sh ./fetch-charms.sh $opnfvdistro -mkdir trusty -tar xvf common/scaleio.tar -C ./trusty/ --strip=2 juju-scaleio/trusty/ +tar xvf common/scaleio.tar -C ./$opnfvdistro/ --strip=2 juju-scaleio/trusty/ osdomname='' @@ -105,8 +104,11 @@ fi #lets generate the bundle for all target using genBundle.py python genBundle.py -l deployconfig.yaml -s $var > bundles.yaml +#keep the back in cloud for later debugging. +pastebinit bundles.yaml || true + echo "... Deployment Started ...." -juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack"-nodes +juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack" # seeing issue related to number of open files. # juju run --service nodes 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances' @@ -122,4 +124,3 @@ while [ $c -lt $count ]; do let c+=1 done -juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack" || true