Configure keystone service password on MON env variables 48/10548/1
authorlimon <alimonj@indra.es>
Thu, 4 Mar 2021 12:43:09 +0000 (13:43 +0100)
committerlimon <alimonj@indra.es>
Thu, 25 Mar 2021 12:05:10 +0000 (13:05 +0100)
Change-Id: I04553aa703d2f4106d5bbf5585bec9ab2e202249
Signed-off-by: limon <alimonj@indra.es>
(cherry picked from commit 6dc17050539cddb69457e8b32d1fc567b1d997fb)

installers/full_install_osm.sh

index e54d197..7100777 100755 (executable)
@@ -781,6 +781,7 @@ function generate_docker_env_files() {
 
     # MON
     if [ ! -f $OSM_DOCKER_WORK_DIR/mon.env ]; then
+        echo "OSMMON_KEYSTONE_SERVICE_PASSWORD=${SERVICE_PASSWORD}" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
         echo "OSMMON_DATABASE_COMMONKEY=${OSM_DATABASE_COMMONKEY}" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
         echo "OSMMON_SQL_DATABASE_URI=mysql://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/mon" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
     fi