diff options
author | Tim Rozet <trozet@redhat.com> | 2018-06-25 14:41:03 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-06-25 14:41:03 -0400 |
commit | 7a88d523a470bca817331e3df9a786197fac76fd (patch) | |
tree | df9719c3b72bbed6643e4b7e96b14fe295a8fa0d /jjb/apex/apex-snapshot-deploy.sh | |
parent | cfa60811784212ba2072c8c2a6c98fd3b777036d (diff) |
Apex: Fixes blocking/snapshot checks
Change-Id: If6782ae3806fa9193d42bc3f640c000e3a723724
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex/apex-snapshot-deploy.sh')
-rw-r--r-- | jjb/apex/apex-snapshot-deploy.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jjb/apex/apex-snapshot-deploy.sh b/jjb/apex/apex-snapshot-deploy.sh index a93421c8e..0665ce09d 100644 --- a/jjb/apex/apex-snapshot-deploy.sh +++ b/jjb/apex/apex-snapshot-deploy.sh @@ -147,8 +147,9 @@ netvirt_url="http://${admin_controller_ip}:8081/restconf/operational/network-top source overcloudrc counter=1 while [ "$counter" -le 10 ]; do - if curl --fail --silent ${admin_controller_ip}:80 > /dev/null; then - echo "Overcloud Horizon is up...Checking if OpenDaylight NetVirt is up..." + echo "Checking if OpenStack is up" + if nc -z ${admin_controller_ip} 9696 > /dev/null; then + echo "Overcloud Neutron is up...Checking if OpenDaylight NetVirt is up..." if curl --fail --silent -u admin:admin ${netvirt_url} > /dev/null; then echo "OpenDaylight is up. Overcloud deployment complete" exit 0 @@ -156,7 +157,7 @@ while [ "$counter" -le 10 ]; do echo "OpenDaylight not yet up, try ${counter}" fi else - echo "Horizon/Apache not yet up, try ${counter}" + echo "Neutron not yet up, try ${counter}" fi counter=$((counter+1)) sleep 60 |