diff --git a/docker/centos/binary/galera/config-internal.sh b/docker/centos/binary/galera/config-internal.sh deleted file mode 120000 index edab3d51fb..0000000000 --- a/docker/centos/binary/galera/config-internal.sh +++ /dev/null @@ -1 +0,0 @@ -../../../common/galera/config-internal.sh \ No newline at end of file diff --git a/docker/common/galera/config-internal.sh b/docker/common/galera/config-internal.sh deleted file mode 100755 index d92414a6f5..0000000000 --- a/docker/common/galera/config-internal.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -. /opt/kolla/kolla-common.sh -. /opt/kolla/config-galera.sh - -check_required_vars DB_CLUSTER_BIND_ADDRESS \ - DB_CLUSTER_INIT_DB \ - DB_CLUSTER_NAME \ - DB_CLUSTER_NODES \ - DB_CLUSTER_WSREP_METHOD \ - DB_ROOT_PASSWORD - -CFG=/etc/my.cnf.d/server.cnf -DB_CLUSTER_INIT_SQL=/tmp/mysql-first-time.sql - -prepare_db - -if [[ "${DB_CLUSTER_INIT_DB}" == "true" ]] && ! [[ -a /var/lib/mysql/cluster.exists ]]; then - DB_CLUSTER_IS_MASTER_NODE="--wsrep-new-cluster" - touch /var/lib/mysql/cluster.exists -fi - -mysqld_safe --init-file=$DB_CLUSTER_INIT_SQL $DB_CLUSTER_IS_MASTER_NODE diff --git a/docker/common/galera/start.sh b/docker/common/galera/start.sh index 42bd882b1a..f8f8d7f771 100755 --- a/docker/common/galera/start.sh +++ b/docker/common/galera/start.sh @@ -8,7 +8,7 @@ ARGS="" # loading common functions source /opt/kolla/kolla-common.sh -# config-internal script exec out of this function, it does not return here +# Execute config strategy set_configs # loading functions