Merge "Disable all uses of wsrep-provider in mysql_bootstrap container"
This commit is contained in:
commit
46fba3a096
@ -159,6 +159,7 @@ outputs:
|
||||
detach: false
|
||||
image: {get_param: DockerMysqlImage}
|
||||
net: host
|
||||
user: root
|
||||
# Kolla bootstraps aren't idempotent, explicitly checking if bootstrap was done
|
||||
command:
|
||||
- 'bash'
|
||||
@ -167,8 +168,9 @@ outputs:
|
||||
list_join:
|
||||
- "\n"
|
||||
- - 'if [ -e /var/lib/mysql/mysql ]; then exit 0; fi'
|
||||
- 'kolla_start'
|
||||
- 'mysqld_safe --skip-networking --wsrep-on=OFF --wsrep-provider=none &'
|
||||
- 'echo -e "\n[mysqld]\nwsrep_provider=none" >> /etc/my.cnf'
|
||||
- 'sudo -u mysql -E kolla_start'
|
||||
- 'mysqld_safe --skip-networking --wsrep-on=OFF &'
|
||||
- 'timeout ${DB_MAX_TIMEOUT} /bin/bash -c ''until mysqladmin -uroot -p"${DB_ROOT_PASSWORD}" ping 2>/dev/null; do sleep 1; done'''
|
||||
- 'mysql -uroot -p"${DB_ROOT_PASSWORD}" -e "CREATE USER ''clustercheck''@''localhost'' IDENTIFIED BY ''${DB_CLUSTERCHECK_PASSWORD}'';"'
|
||||
- 'mysql -uroot -p"${DB_ROOT_PASSWORD}" -e "GRANT PROCESS ON *.* TO ''clustercheck''@''localhost'' WITH GRANT OPTION;"'
|
||||
|
Loading…
x
Reference in New Issue
Block a user