projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update install_osm.sh to solve the issue with no valid OpenPGP data found
[osm/devops.git]
/
installers
/
charmed_install.sh
diff --git
a/installers/charmed_install.sh
b/installers/charmed_install.sh
index
e6b8ffe
..
bdf043e
100755
(executable)
--- a/
installers/charmed_install.sh
+++ b/
installers/charmed_install.sh
@@
-299,7
+299,7
@@
function check_osm_deployed() {
previous_count=0
while true
do
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
echo "$service_count / $total_service_count services active"
if [ $service_count -eq $total_service_count ]; then
break