aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-22 17:16:13 +0000
committerGerrit Code Review <review@openstack.org>2018-01-22 17:16:13 +0000
commiteec02d0495d78345b6084192de59ee997bf2ad93 (patch)
tree3c3090ba4d95cc766130e92398595b0c76a07129 /docker
parent20b008a0688a20f833aa8c8ed1952d14b9719aea (diff)
parent502196d8fa9fae468089724937f66059e57ce3ac (diff)
downloadkolla-eec02d0495d78345b6084192de59ee997bf2ad93.tar.gz
kolla-eec02d0495d78345b6084192de59ee997bf2ad93.zip
Merge "Add --wsrep-new-cluster option back in the bootstrap_db function"
Diffstat (limited to 'docker')
-rw-r--r--docker/mariadb/extend_start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/mariadb/extend_start.sh b/docker/mariadb/extend_start.sh
index 83180cb47..310f79c2c 100644
--- a/docker/mariadb/extend_start.sh
+++ b/docker/mariadb/extend_start.sh
@@ -1,7 +1,7 @@
#!/bin/bash
function bootstrap_db {
- mysqld_safe --skip-networking --wsrep-on=OFF --pid-file=/var/lib/mysql/mariadb.pid &
+ mysqld_safe --wsrep-new-cluster --skip-networking --wsrep-on=OFF --pid-file=/var/lib/mysql/mariadb.pid &
# Wait for the mariadb server to be "Ready" before starting the security reset with a max timeout
# NOTE(huikang): the location of mysql's socket file varies depending on the OS distributions.
# Querying the cluster status has to be executed after the existence of mysql.sock and mariadb.pid.