summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-14 16:42:21 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-15 00:33:12 -0500
commitb46de9e8a6d2a87d6e475b6ee9bf66c2c2b9761f (patch)
tree3a455bd0fa89df4cc161437c4c985069b70ebbbb
parent952fb13f3f3f296dfcee6082b0d15230558b19c7 (diff)
adjusting the timeout while reading status.
Change-Id: I26829677f4688e75edf607b2fcd839385523c5aa Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/02-deploybundle.sh4
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceph.yaml11
-rwxr-xr-xci/deploy.sh2
3 files changed, 4 insertions, 13 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh
index bc274819..1bb0084c 100755
--- a/ci/02-deploybundle.sh
+++ b/ci/02-deploybundle.sh
@@ -33,7 +33,7 @@ check_status() {
while [ $retval -eq 0 ]; do
if juju status | grep -q $waitstatus; then
echo -n '.'
- if [ $timeoutiter -ge 240 ]; then
+ if [ $timeoutiter -ge 180 ]; then
echo 'timed out'
retval=1
else
@@ -133,7 +133,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
#update source if trusty is target distribution
var=os-$opnfvsdn-$fea-$opnfvtype"-"$opnfvdistro"_"$openstack
- if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None"]); then
+ if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None" ]); then
var=$var"_"publicapi
fi
else
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
index eda84960..5dd544ed 100644
--- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
@@ -6,9 +6,7 @@
bindings:
"": internal-api
{% if opnfv.spaces_dict.storage is defined %}
- public: storage-cluster
-{% else %}
- public: internal-api
+ cluster: storage-cluster
{% endif %}
{% endif %}
options:
@@ -54,11 +52,7 @@
bindings:
"": internal-api
{% if opnfv.spaces_dict.storage is defined %}
- public: storage-cluster
cluster: storage-cluster
-{% else %}
- public: internal-api
- cluster: internal-api
{% endif %}
{% endif %}
options:
@@ -111,9 +105,6 @@
{% else %}
public: internal-api
{% endif %}
-{% if opnfv.spaces_dict.storage is defined %}
- mon: storage-cluster
-{% endif %}
{% endif %}
options:
region: {{ os.region }}
diff --git a/ci/deploy.sh b/ci/deploy.sh
index bc146305..768f5e84 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -188,7 +188,7 @@ check_status() {
while [ $retval -eq 0 ]; do
if juju status | grep -q $waitstatus; then
echo -n '.'
- if [ $timeoutiter -ge 120 ]; then
+ if [ $timeoutiter -ge 180 ]; then
echo 'timed out'
retval=1
else