Skip to content

Commit

Permalink
Merge pull request #216 from rchirakk/install1
Browse files Browse the repository at this point in the history
fail installer when contiv pods are not ready.
  • Loading branch information
neelimamukiri authored Jul 17, 2017
2 parents d5fc7a2 + 6a39158 commit d95ef70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install/k8s/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function copy_unless_identical_paths() {

error_ret() {
echo ""
echo "$1"
echo "$*"
exit 1
}

Expand Down Expand Up @@ -293,6 +293,9 @@ for i in {0..150}; do
netctl tenant ls >/dev/null 2>&1 || continue
break
done

[[ $i -ge 150 ]] && error_ret "contiv pods are not ready !!"

set -e

if [ "$fwd_mode" == "routing" ]; then
Expand Down

0 comments on commit d95ef70

Please sign in to comment.