Only to find that it made the problem even worse. After some further troubleshooting I realized that something removed a quiet important line from my my.cnf in the galer lxc container. The line that is missing is:
!includedir /etc/mysql/conf.d/
Which will include other configuration files including those used by wsrep. Bootstrapping a new galera cluster obviously will not work if this line is missing, I have no idea what that change would do to an existing cluster...
The corresponding task can be found in /etc/ansible/roles/galera_server/tasks/galera_post_install.yml
While troubleshooting a galera setup problem I used galera_ my_cnf_ overrides in my user_variables.
galera_ my_cnf_ overrides: initial- timeout: 600
sst:
sst-
Only to find that it made the problem even worse. After some further troubleshooting I realized that something removed a quiet important line from my my.cnf in the galer lxc container. The line that is missing is:
!includedir /etc/mysql/conf.d/
Which will include other configuration files including those used by wsrep. Bootstrapping a new galera cluster obviously will not work if this line is missing, I have no idea what that change would do to an existing cluster...
The corresponding task can be found in /etc/ansible/ roles/galera_ server/ tasks/galera_ post_install. yml
- name: Drop mariadb config(s) overrides: "{{ item.config_ overrides }}" overrides: "{{ galera_ my_cnf_ overrides }}" conf.d/ cluster. cnf overrides: "{{ galera_ cluster_ cnf_overrides }}" debian. cnf overrides: "{{ galera_ debian_ cnf_overrides }}" client- user-config
config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "root"
group: "root"
mode: "0644"
config_
config_type: "{{ item.config_type }}"
with_items:
- src: my.cnf.j2
dest: /etc/mysql/my.cnf
config_
config_type: "ini"
- src: cluster.cnf.j2
dest: /etc/mysql/
config_
config_type: "ini"
- src: debian.cnf.j2
dest: /etc/mysql/
config_
config_type: "ini"
notify: Restart mysql
tags:
- galera-config
- galera-
For me it looks like the "!includedir " line is treated as an comment and gets removed by the config_template module.