X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=bdf043e2ed05fcb47066ea57374a89598f1b1038;hb=8513046cae23e90b04480a96e023d053ad118522;hp=e6b8ffebc2b372abae98ae0458365a9bd10c6dd8;hpb=6eb39284d44800a2a482a30101dfd1ccbc3d4f05;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index e6b8ffeb..bdf043e2 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -299,7 +299,7 @@ function check_osm_deployed() { previous_count=0 while true do - service_count=$(juju status -m $MODEL_NAME | grep kubernetes | grep active | wc -l) + service_count=$(juju status --format json -m $MODEL_NAME | jq '.applications[]."application-status".current' | grep active | wc -l) echo "$service_count / $total_service_count services active" if [ $service_count -eq $total_service_count ]; then break