Check cluster status using `ccp status` command
Change-Id: Ia565337348e79385f334027022e05d760b553330
This commit is contained in:
parent
43af0ab8d3
commit
826d3b4a5b
|
@ -36,9 +36,9 @@ EOF
|
|||
}
|
||||
|
||||
function ccp_wait_for_deployment_to_finish {
|
||||
until kubectl --namespace $1 get jobs | awk '$3 ~ 0 {print}' | wc -l | grep "^0$"; do
|
||||
echo "Waiting for jobs to finish..."
|
||||
sleep 1m
|
||||
until [[ `${CCP} status -s -f value -c status` == "ok" ]]; do
|
||||
echo "Waiting for OpenStack deployment to finish..."
|
||||
sleep 5
|
||||
done
|
||||
echo "...................................."
|
||||
echo "Jobs and pods in namespace: $1"
|
||||
|
|
Loading…
Reference in New Issue