X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=52f07f33fb80a980bde792a026d0a58ac2409c16;hb=024b5ed16fec7f12bd1053e4d0154919b523b36a;hp=81ede58c7bc6c3be1a2f052e7401b9501baf9463;hpb=044f365c9b276ee493996baa4fca0a14d0261e9d;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index 81ede58c..52f07f33 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -295,7 +295,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