From: Narinder Gupta Date: Thu, 7 Jan 2016 16:07:53 +0000 (-0600) Subject: added the retry count to juju-deployer in case od error in can X-Git-Tag: brahmaputra.1.0~86 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=07b35e22299c8e0cd5c39340b05420a1109b6268;p=joid.git added the retry count to juju-deployer in case od error in can be retried. Change-Id: Ic1bf10dcb9bf5f5b3a8c8ce94bbc6332731e667b (cherry picked from commit fcf9fd1914d82e6b4fa22edaed6d3d6d7a0c9860) --- diff --git a/ci/nosdn/01-deploybundle.sh b/ci/nosdn/01-deploybundle.sh index 1ad44a9b..92295fe7 100755 --- a/ci/nosdn/01-deploybundle.sh +++ b/ci/nosdn/01-deploybundle.sh @@ -75,19 +75,19 @@ echo "... Deployment Started ...." case "$1" in 'nonha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'tip' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; * ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; esac diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh index 94c9cdc6..7887a182 100755 --- a/ci/odl/01-deploybundle.sh +++ b/ci/odl/01-deploybundle.sh @@ -75,19 +75,19 @@ echo "... Deployment Started ...." case "$1" in 'nonha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'tip' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; * ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; esac diff --git a/ci/onos/01-deploybundle.sh b/ci/onos/01-deploybundle.sh index b2f9367a..dbd74b45 100644 --- a/ci/onos/01-deploybundle.sh +++ b/ci/onos/01-deploybundle.sh @@ -81,19 +81,19 @@ echo "... Deployment Started ...." case "$1" in 'nonha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'tip' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; * ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; esac diff --git a/ci/opencontrail/01-deploybundle.sh b/ci/opencontrail/01-deploybundle.sh index dd2e49ba..ea8290a1 100755 --- a/ci/opencontrail/01-deploybundle.sh +++ b/ci/opencontrail/01-deploybundle.sh @@ -76,19 +76,19 @@ echo "... Deployment Started ...." case "$1" in 'nonha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; 'tip' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; * ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju-deployer -vW -d -t 7200 -c bundles.yaml trusty-"$2" + juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2" ;; esac