File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
ansible/roles/mariadb/templates Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,11 @@ datadir=/var/lib/mysql/
28
28
29
29
wsrep_cluster_address=gcomm://{% if (groups ['mariadb' ] | length ) > 1 %}{% for host in groups ['mariadb' ] %} {{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ mariadb_wsrep_port }}{% if not loop .last %} ,{% endif %}{% endfor %}{% endif %}
30
30
31
- {% if api_address_family == 'ipv6' and kolla_base_distro == 'centos' %}
32
- # FIXME(jeffrey4l): Revert when using C8 (CentOS+Ussuri)
33
- # Use [::] to avoid galera issue.
34
- # for more info see https://github.com/codership/galera/issues/534#issuecomment-472607544
35
- wsrep_provider_options=gmcast.listen_addr=tcp://[::]:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }};{% for option in mariadb_wsrep_extra_provider_options %} {{ option }}{% if not loop .last %} ;{% endif %}{% endfor %}
36
- {% else %}
37
31
wsrep_provider_options=gmcast.listen_addr=tcp://{{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }};ist.recv_addr={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_ist_port }};{% for option in mariadb_wsrep_extra_provider_options %} {{ option }}{% if not loop .last %} ;{% endif %}{% endfor %}
38
- {% endif %}
39
32
40
33
wsrep_node_address={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_wsrep_port }}
41
- {% if api_address_family == 'ipv6' and kolla_base_distro == 'centos' %}
42
- # FIXME(yj.bai): Revert when using C8 (CentOS+Ussuri)
43
- # Use IPv6-resolvable hostname to avoid galera issue.
44
- wsrep_sst_receive_address={{ ansible_hostname }}:{{ mariadb_sst_port }}
45
- {% else %}
34
+
46
35
wsrep_sst_receive_address={{ api_interface_address | put_address_in_context('url') }}:{{ mariadb_sst_port }}
47
- {% endif %}
48
36
49
37
wsrep_provider={{ wsrep_driver }}
50
38
wsrep_cluster_name="{{ database_cluster_name }}"
Original file line number Diff line number Diff line change 52
52
base_distro : ubuntu
53
53
install_type : source
54
54
55
+ - job :
56
+ name : kolla-ansible-centos8-source-multinode-ipv6
57
+ parent : kolla-ansible-ipv6-base
58
+ nodeset : kolla-ansible-centos8-multi
59
+ vars :
60
+ base_distro : centos
61
+ install_type : source
62
+
55
63
- job :
56
64
name : kolla-ansible-ubuntu-source-multinode-ipv6
57
65
parent : kolla-ansible-ipv6-base
Original file line number Diff line number Diff line change 16
16
- kolla-ansible-ubuntu-source
17
17
- kolla-ansible-centos8-source-kvm
18
18
- kolla-ansible-ubuntu-source-kvm
19
+ - kolla-ansible-centos8-source-multinode-ipv6
19
20
- kolla-ansible-ubuntu-source-multinode-ipv6
20
21
- kolla-ansible-centos8-source-bifrost
21
22
- kolla-ansible-centos8-source-zun
You can’t perform that action at this time.
0 commit comments