Fix bug 1766: update to latest charm revisions (Charmed installer)
The new revisions include:
- fixed security issues: secret management
- Authentication in prometheus and grafana
- Fix n2vc path in LCM charm (debug-mode)
Change-Id: I4ace5a2e8e7f96883e439047dff739c8a9b40870
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh
index 577fe82..c686597 100755
--- a/installers/charmed_install.sh
+++ b/installers/charmed_install.sh
@@ -286,6 +286,10 @@
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"
}