The openSUSE repository bumped the mariadb package to 10.2. However, there is an upstream bug that prevents nodes from joining the cluster. The way to workaround it is to export WSREP_SST_OPT_PORT=4444 in the systemd service file. Moreover, we pull the mariadb-galera subpackage which contains some necessary tools for galera clusters. Finally, we drop the default configuration files which are being installed by the packages because they conflict with the ones installed by this role. [hwoarang: This also applies the linter fixes from https://review.openstack.org/#/c/523080/ in order to make the gates happy] Depends-On: Ia4856f36b2d106d987e3c774f31493e25a23d4b5 Link: https://jira.mariadb.org/browse/MDEV-14256 Change-Id: I97cf1585b2fed08f53f62a547547e422bc34fa53
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
---
|
|
# Copyright 2017, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
galera_packages_list:
|
|
- packages: "{{ galera_server_required_distro_packages }}"
|
|
enabled: yes
|
|
local_pkg: no
|
|
- packages: "{{ galera_server_mariadb_distro_packages }}"
|
|
enabled: yes
|
|
local_pkg: no
|
|
- packages: "{{ galera_server_percona_distro_packages }}"
|
|
enabled: "{{ use_percona_upstream }}"
|
|
local_pkg: no
|
|
|
|
percona_packages_list:
|
|
- packages: "{{ [percona_package_path] }}"
|
|
enabled: "{{ not use_percona_upstream }}"
|
|
local_pkg: yes
|
|
- packages: "{{ [qpress_package_path] }}"
|
|
enabled: "{{ not use_percona_upstream }}"
|
|
local_pkg: yes
|
|
|
|
mariadb_delete_etc_conf_files: []
|