X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=978a696f5f0e4bafa27dc46938ca17f3a04da4a0;hb=refs%2Fchanges%2F30%2F12630%2F1;hp=163ed06769c539b385785d5922c1e3448e0cb8a1;hpb=6389247540b9c5668d8dff8cd3845873c95b2db1;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index 163ed067..978a696f 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -286,10 +286,10 @@ function deploy_charmed_osm(){ juju config -m $MODEL_NAME prometheus site_url=https://prometheus.${API_SERVER}.nip.io echo "Waiting for deployment to finish..." + check_osm_deployed grafana_leader=`juju status -m $MODEL_NAME grafana | grep "*" | cut -d "*" -f 1` grafana_admin_password=`juju run -m $MODEL_NAME --unit $grafana_leader "echo \\$GF_SECURITY_ADMIN_PASSWORD"` juju config -m $MODEL_NAME mon grafana_password=$grafana_admin_password - check_osm_deployed echo "OSM with charms deployed" }