b4759b280c
This patch enable wsrep_notify_cmd to rename haproxy user in haproxy_blocked when the node is not ready to serve and restore it when ready. Change-Id: I4f49960d7ff2fa689d6ea730b2574f16f083edc1 Closes-Bug: 1578752 Closes-Bug: 1587752
19 lines
557 B
Django/Jinja
19 lines
557 B
Django/Jinja
{% set mysql_dir = 'mysql' if kolla_base_distro in ['ubuntu', 'debian'] else '' %}
|
|
{
|
|
"command": "/usr/bin/mysqld_safe",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/galera.cnf",
|
|
"dest": "/etc/{{ mysql_dir }}/my.cnf",
|
|
"owner": "mysql",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/wsrep_notify.sh",
|
|
"dest": "/usr/local/bin/wsrep_notify.sh",
|
|
"owner": "mysql",
|
|
"perm": "0700"
|
|
}
|
|
]
|
|
}
|