Merge "Reduce verbosity during mysql bootstrap, non-HA"
This commit is contained in:
commit
c36bad9780
@ -139,13 +139,14 @@ outputs:
|
||||
# Kolla bootstraps aren't idempotent, explicitly checking if bootstrap was done
|
||||
command:
|
||||
- 'bash'
|
||||
- '-ecx'
|
||||
- '-ec'
|
||||
-
|
||||
list_join:
|
||||
- "\n"
|
||||
- - 'if [ -e /var/lib/mysql/mysql ]; then exit 0; fi'
|
||||
- 'echo -e "\n[mysqld]\nwsrep_provider=none" >> /etc/my.cnf'
|
||||
- 'sudo -u mysql -E kolla_start'
|
||||
- 'kolla_set_configs'
|
||||
- 'sudo -u mysql -E kolla_extend_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 ''mysql''@''localhost'';"'
|
||||
|
Loading…
Reference in New Issue
Block a user