It seems to be a problem in the OOM script to deploy a DB. https://git.onap.org/oom/tree/kubernetes/common/mariadb-init/resources/config/db_init.sh
There is no error handling implemented, when the execution fails, so whenever the script is launched, the Pod will report "Completed" while read DB ; do USER_VAR = "MYSQL_USER_ ${ DB ^^ } " PASS_VAR = "MYSQL_PASSWORD_ ${ DB ^^ } " USER = ${ !USER_VAR } PASS = ${ !PASS_VAR } MYSQL_OPTS =( -h ${ DB_HOST } -P ${ DB_PORT } -uroot -p ${ MYSQL_ROOT_PASSWORD } ) echo "Creating database ${ DB } and user ${ USER }..." mysql " ${ MYSQL_OPTS [@] } " -e "CREATE OR REPLACE USER ' ${ USER } '@'%' IDENTIFIED BY ' ${ PASS } '" mysql " ${ MYSQL_OPTS [@] } " -e "CREATE DATABASE IF NOT EXISTS ${ DB } " mysql " ${ MYSQL_OPTS [@] } " -e "GRANT ALL PRIVILEGES ON ${ DB }.* TO ' ${ USER } '@'%'" echo "Created database ${ DB } and user ${ USER }." done <<EOF -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21470): https://lists.onap.org/g/onap-discuss/message/21470 Mute This Topic: https://lists.onap.org/mt/75058930/21656 Mute #extapi: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/extapi Mute #oom: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/oom Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-